Skip to content

Commit 4398b60

Browse files
committed
Categorize newly failing rust repo source files
1 parent 2e69ff0 commit 4398b60

File tree

1 file changed

+32
-26
lines changed

1 file changed

+32
-26
lines changed

tests/repo/mod.rs

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,6 @@ const REVISION: &str = "0aeaa5eb22180fdf12a8489e63c4daa18da6f236";
1919

2020
#[rustfmt::skip]
2121
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-
4822
// TODO: non-lifetime binders: `where for<'a, T> &'a Struct<T>: Trait`
4923
// https://github.com/dtolnay/syn/issues/1435
5024
"src/tools/rustfmt/tests/source/issue_5721.rs",
@@ -55,10 +29,28 @@ static EXCLUDE_FILES: &[&str] = &[
5529
"tests/rustdoc/inline_cross/auxiliary/non_lifetime_binders.rs",
5630
"tests/rustdoc/non_lifetime_binders.rs",
5731

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+
5848
// TODO: return type notation: `where T: Trait<method(): Send>` and `where T::method(..): Send`
5949
// https://github.com/dtolnay/syn/issues/1434
6050
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/return_type_syntax_in_path.rs",
6151
"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",
6254
"tests/ui/associated-type-bounds/return-type-notation/basic.rs",
6355
"tests/ui/associated-type-bounds/return-type-notation/higher-ranked-bound-works.rs",
6456
"tests/ui/associated-type-bounds/return-type-notation/namespace-conflict.rs",
@@ -194,6 +186,15 @@ static EXCLUDE_FILES: &[&str] = &[
194186
// https://github.com/dtolnay/syn/issues/1632
195187
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/const_trait_bound.rs",
196188
"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",
197198
"tests/ui/traits/const-traits/tilde-const-syntax.rs",
198199

199200
// TODO: unparenthesized half-open range pattern inside slice pattern: `[1..]`
@@ -205,6 +206,7 @@ static EXCLUDE_FILES: &[&str] = &[
205206
// https://github.com/dtolnay/syn/issues/1770
206207
"src/tools/rustfmt/tests/source/pin_sugar.rs",
207208
"src/tools/rustfmt/tests/target/pin_sugar.rs",
209+
"tests/ui/async-await/pin-ergonomics/sugar.rs",
208210

209211
// TODO: `|| .. .method()`
210212
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/closure_range_method_call.rs",
@@ -290,7 +292,10 @@ static EXCLUDE_FILES: &[&str] = &[
290292
"tests/ui/parser/bounds-obj-parens.rs",
291293

292294
// 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",
293296
"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",
294299
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/use_tree_abs_star.rs",
295300
"src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0015_use_tree.rs",
296301
"src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0029_range_forms.rs",
@@ -327,6 +332,7 @@ static EXCLUDE_FILES: &[&str] = &[
327332
"tests/ui/dyn-keyword/dyn-2015-no-warnings-without-lints.rs",
328333
"tests/ui/editions/edition-keywords-2015-2015.rs",
329334
"tests/ui/editions/edition-keywords-2015-2018.rs",
335+
"tests/ui/lint/keyword-idents/auxiliary/multi_file_submod.rs",
330336
"tests/ui/lint/lint_pre_expansion_extern_module_aux.rs",
331337
"tests/ui/macros/macro-comma-support-rpass.rs",
332338
"tests/ui/macros/try-macro.rs",

0 commit comments

Comments
 (0)