Skip to content

Commit

Permalink
Categorize test exclusions from nightly-2022-05-24
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 24, 2022
1 parent f4e9c62 commit 952b167
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions tests/repo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@ const REVISION: &str = "ee160f2f5e73b6f5954bc33f059c316d9e8582c4";

#[rustfmt::skip]
static EXCLUDE: &[&str] = &[
// TODO
// TODO: wrong precedence on some attribute placement
"src/test/pretty/stmt_expr_attributes.rs",
"src/test/pretty/yeet-expr.rs",
"src/test/run-make/translation/basic-translation.rs",
"src/test/ui/try-trait/yeet-for-option.rs",
"src/test/ui/try-trait/yeet-for-result.rs",
"src/test/ui/type-alias-impl-trait/generic_type_does_not_live_long_enough.rs",

// TODO: impl ~const T {}
// https://github.com/dtolnay/syn/issues/1051
Expand All @@ -30,6 +25,9 @@ static EXCLUDE: &[&str] = &[
"src/test/ui/const-generics/early/closing-args-token.rs",
"src/test/ui/const-generics/early/const-expression-parameter.rs",

// Need at least one trait in impl Trait, no such type as impl 'static
"src/test/ui/type-alias-impl-trait/generic_type_does_not_live_long_enough.rs",

// Deprecated anonymous parameter syntax in traits
"src/test/ui/issues/issue-13105.rs",
"src/test/ui/issues/issue-13775.rs",
Expand All @@ -38,6 +36,11 @@ static EXCLUDE: &[&str] = &[
"src/tools/rustfmt/tests/source/trait.rs",
"src/tools/rustfmt/tests/target/trait.rs",

// Placeholder syntax for "throw expressions"
"src/test/pretty/yeet-expr.rs",
"src/test/ui/try-trait/yeet-for-option.rs",
"src/test/ui/try-trait/yeet-for-result.rs",

// Excessive nesting
"src/test/ui/issues/issue-74564-if-expr-stack-overflow.rs",

Expand All @@ -54,6 +57,9 @@ static EXCLUDE: &[&str] = &[
"src/tools/rustfmt/tests/target/configs/spaces_around_ranges/true.rs",
"src/tools/rustfmt/tests/target/type.rs",

// Testing compiler diagnostic localization on invalid syntax
"src/test/run-make/translation/basic-translation.rs",

// Clippy lint lists represented as expressions
"src/tools/clippy/clippy_lints/src/lib.deprecated.rs",
"src/tools/clippy/clippy_lints/src/lib.register_all.rs",
Expand Down

0 comments on commit 952b167

Please sign in to comment.