Skip to content

Commit

Permalink
Categorize newly failing rust repo source files
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 5, 2023
1 parent 93bfc8e commit aadbe5a
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions tests/repo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,10 @@ const REVISION: &str = "a2f5f9691b6ce64c1703feaf9363710dfd7a56cf";

#[rustfmt::skip]
static EXCLUDE_FILES: &[&str] = &[
// TODO
"src/tools/clippy/tests/ui/needless_raw_string.rs",
"src/tools/clippy/tests/ui/needless_raw_string_hashes.rs",
"src/tools/rustfmt/tests/source/issue_5721.rs",
"src/tools/rustfmt/tests/source/non-lifetime-binders.rs",
"src/tools/rustfmt/tests/target/issue_5721.rs",
"src/tools/rustfmt/tests/target/non-lifetime-binders.rs",
"tests/rustdoc/inline_cross/auxiliary/non_lifetime_binders.rs",
"tests/rustdoc/typedef-inner-variants-lazy_type_alias.rs",
"tests/ui/coroutine/gen_block_is_iter.rs",
"tests/ui/coroutine/gen_block_iterate.rs",
"tests/ui/parser/struct-literal-in-match-guard.rs",
"tests/ui/unreachable-code.rs",

// TODO: CStr literals: c"…", cr"…"
// https://github.com/dtolnay/syn/issues/1502
"src/tools/clippy/tests/ui/needless_raw_string.rs",
"src/tools/clippy/tests/ui/needless_raw_string_hashes.rs",
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0085_expr_literals.rs",

// TODO: explicit tail calls: `become _g()`
Expand All @@ -41,7 +29,12 @@ static EXCLUDE_FILES: &[&str] = &[

// TODO: non-lifetime binders: `where for<'a, T> &'a Struct<T>: Trait`
// https://github.com/dtolnay/syn/issues/1435
"src/tools/rustfmt/tests/source/issue_5721.rs",
"src/tools/rustfmt/tests/source/non-lifetime-binders.rs",
"src/tools/rustfmt/tests/target/issue_5721.rs",
"src/tools/rustfmt/tests/target/non-lifetime-binders.rs",
"tests/rustdoc-json/non_lifetime_binders.rs",
"tests/rustdoc/inline_cross/auxiliary/non_lifetime_binders.rs",
"tests/rustdoc/non_lifetime_binders.rs",

// TODO: return type notation: `where T: Trait<method(): Send>`
Expand All @@ -50,6 +43,19 @@ static EXCLUDE_FILES: &[&str] = &[
"tests/ui/associated-type-bounds/return-type-notation/basic.rs",
"tests/ui/feature-gates/feature-gate-return_type_notation.rs",

// TODO: lazy type alias syntax with where-clause in trailing position
"tests/rustdoc/typedef-inner-variants-lazy_type_alias.rs",

// TODO: gen blocks and functions
"tests/ui/coroutine/gen_block_is_iter.rs",
"tests/ui/coroutine/gen_block_iterate.rs",

// TODO: struct literal in match guard
"tests/ui/parser/struct-literal-in-match-guard.rs",

// TODO: precedence of return in match guard
"tests/ui/unreachable-code.rs",

// Compile-fail expr parameter in const generic position: f::<1 + 2>()
"tests/ui/const-generics/early/closing-args-token.rs",
"tests/ui/const-generics/early/const-expression-parameter.rs",
Expand Down

0 comments on commit aadbe5a

Please sign in to comment.