@@ -19,32 +19,6 @@ const REVISION: &str = "0aeaa5eb22180fdf12a8489e63c4daa18da6f236";
19
19
20
20
#[ rustfmt:: skip]
21
21
static EXCLUDE_FILES : & [ & str ] = & [
22
- // TODO
23
- "src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/assoc_type_bound.rs" ,
24
- "src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/field_expr.rs" ,
25
- "src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/generic_arg_bounds.rs" ,
26
- "src/tools/rustfmt/tests/source/unsafe-binders.rs" ,
27
- "src/tools/rustfmt/tests/source/unsafe-field.rs" ,
28
- "src/tools/rustfmt/tests/target/guard_patterns.rs" ,
29
- "src/tools/rustfmt/tests/target/unsafe-binders.rs" ,
30
- "src/tools/rustfmt/tests/target/unsafe-field.rs" ,
31
- "tests/ui/associated-type-bounds/all-generics-lookup.rs" ,
32
- "tests/ui/associated-type-bounds/implied-from-self-where-clause.rs" ,
33
- "tests/ui/async-await/pin-ergonomics/sugar.rs" ,
34
- "tests/ui/lint/keyword-idents/auxiliary/multi_file_submod.rs" ,
35
- "tests/ui/structs/auxiliary/struct_field_default.rs" ,
36
- "tests/ui/structs/default-field-values-support.rs" ,
37
- "tests/ui/traits/const-traits/const-bound-in-host.rs" ,
38
- "tests/ui/traits/const-traits/const-drop.rs" ,
39
- "tests/ui/traits/const-traits/const-impl-trait.rs" ,
40
- "tests/ui/traits/const-traits/const-in-closure.rs" ,
41
- "tests/ui/traits/const-traits/dont-ice-on-const-pred-for-bounds.rs" ,
42
- "tests/ui/traits/const-traits/effects/auxiliary/minicore.rs" ,
43
- "tests/ui/traits/const-traits/effects/dont-prefer-param-env-for-infer-self-ty.rs" ,
44
- "tests/ui/traits/const-traits/effects/minicore-const-fn-early-bound.rs" ,
45
- "tests/ui/traits/const-traits/predicate-entailment-passes.rs" ,
46
- "tests/ui/unsafe-fields/auxiliary/unsafe-fields-crate-dep.rs" ,
47
-
48
22
// TODO: non-lifetime binders: `where for<'a, T> &'a Struct<T>: Trait`
49
23
// https://github.com/dtolnay/syn/issues/1435
50
24
"src/tools/rustfmt/tests/source/issue_5721.rs" ,
@@ -55,10 +29,28 @@ static EXCLUDE_FILES: &[&str] = &[
55
29
"tests/rustdoc/inline_cross/auxiliary/non_lifetime_binders.rs" ,
56
30
"tests/rustdoc/non_lifetime_binders.rs" ,
57
31
32
+ // TODO: unsafe binders: `unsafe<'a> &'a T`
33
+ "src/tools/rustfmt/tests/source/unsafe-binders.rs" ,
34
+ "src/tools/rustfmt/tests/target/unsafe-binders.rs" ,
35
+
36
+ // TODO: unsafe fields: `struct S { unsafe field: T }`
37
+ "src/tools/rustfmt/tests/source/unsafe-field.rs" ,
38
+ "src/tools/rustfmt/tests/target/unsafe-field.rs" ,
39
+ "tests/ui/unsafe-fields/auxiliary/unsafe-fields-crate-dep.rs" ,
40
+
41
+ // TODO: guard patterns: `match expr { (A if f()) | (B if g()) => {} }`
42
+ "src/tools/rustfmt/tests/target/guard_patterns.rs" ,
43
+
44
+ // TODO: struct field default: `struct S { field: i32 = 1 }`
45
+ "tests/ui/structs/auxiliary/struct_field_default.rs" ,
46
+ "tests/ui/structs/default-field-values-support.rs" ,
47
+
58
48
// TODO: return type notation: `where T: Trait<method(): Send>` and `where T::method(..): Send`
59
49
// https://github.com/dtolnay/syn/issues/1434
60
50
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/return_type_syntax_in_path.rs" ,
61
51
"src/tools/rustfmt/tests/target/return-type-notation.rs" ,
52
+ "tests/ui/associated-type-bounds/all-generics-lookup.rs" ,
53
+ "tests/ui/associated-type-bounds/implied-from-self-where-clause.rs" ,
62
54
"tests/ui/associated-type-bounds/return-type-notation/basic.rs" ,
63
55
"tests/ui/associated-type-bounds/return-type-notation/higher-ranked-bound-works.rs" ,
64
56
"tests/ui/associated-type-bounds/return-type-notation/namespace-conflict.rs" ,
@@ -194,6 +186,15 @@ static EXCLUDE_FILES: &[&str] = &[
194
186
// https://github.com/dtolnay/syn/issues/1632
195
187
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/const_trait_bound.rs" ,
196
188
"tests/ui/generic-const-items/const-trait-impl.rs" ,
189
+ "tests/ui/traits/const-traits/const-bound-in-host.rs" ,
190
+ "tests/ui/traits/const-traits/const-drop.rs" ,
191
+ "tests/ui/traits/const-traits/const-impl-trait.rs" ,
192
+ "tests/ui/traits/const-traits/const-in-closure.rs" ,
193
+ "tests/ui/traits/const-traits/dont-ice-on-const-pred-for-bounds.rs" ,
194
+ "tests/ui/traits/const-traits/effects/auxiliary/minicore.rs" ,
195
+ "tests/ui/traits/const-traits/effects/dont-prefer-param-env-for-infer-self-ty.rs" ,
196
+ "tests/ui/traits/const-traits/effects/minicore-const-fn-early-bound.rs" ,
197
+ "tests/ui/traits/const-traits/predicate-entailment-passes.rs" ,
197
198
"tests/ui/traits/const-traits/tilde-const-syntax.rs" ,
198
199
199
200
// TODO: unparenthesized half-open range pattern inside slice pattern: `[1..]`
@@ -205,6 +206,7 @@ static EXCLUDE_FILES: &[&str] = &[
205
206
// https://github.com/dtolnay/syn/issues/1770
206
207
"src/tools/rustfmt/tests/source/pin_sugar.rs" ,
207
208
"src/tools/rustfmt/tests/target/pin_sugar.rs" ,
209
+ "tests/ui/async-await/pin-ergonomics/sugar.rs" ,
208
210
209
211
// TODO: `|| .. .method()`
210
212
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/closure_range_method_call.rs" ,
@@ -290,7 +292,10 @@ static EXCLUDE_FILES: &[&str] = &[
290
292
"tests/ui/parser/bounds-obj-parens.rs" ,
291
293
292
294
// Various extensions to Rust syntax made up by rust-analyzer
295
+ "src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/assoc_type_bound.rs" ,
293
296
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/const_param_default_path.rs" ,
297
+ "src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/field_expr.rs" ,
298
+ "src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/generic_arg_bounds.rs" ,
294
299
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/use_tree_abs_star.rs" ,
295
300
"src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0015_use_tree.rs" ,
296
301
"src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0029_range_forms.rs" ,
@@ -327,6 +332,7 @@ static EXCLUDE_FILES: &[&str] = &[
327
332
"tests/ui/dyn-keyword/dyn-2015-no-warnings-without-lints.rs" ,
328
333
"tests/ui/editions/edition-keywords-2015-2015.rs" ,
329
334
"tests/ui/editions/edition-keywords-2015-2018.rs" ,
335
+ "tests/ui/lint/keyword-idents/auxiliary/multi_file_submod.rs" ,
330
336
"tests/ui/lint/lint_pre_expansion_extern_module_aux.rs" ,
331
337
"tests/ui/macros/macro-comma-support-rpass.rs" ,
332
338
"tests/ui/macros/try-macro.rs" ,
0 commit comments