Skip to content

Commit

Permalink
Update test suite rustc commit to nightly-2024-12-15
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 15, 2024
1 parent 46fb73c commit 2e69ff0
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions tests/repo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,36 @@ use std::path::{Path, PathBuf};
use tar::Archive;
use walkdir::{DirEntry, WalkDir};

const REVISION: &str = "86d69c705a552236a622eee3fdea94bf13c5f102";
const REVISION: &str = "0aeaa5eb22180fdf12a8489e63c4daa18da6f236";

#[rustfmt::skip]
static EXCLUDE_FILES: &[&str] = &[
// TODO
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/assoc_type_bound.rs",
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/field_expr.rs",
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/generic_arg_bounds.rs",
"src/tools/rustfmt/tests/source/unsafe-binders.rs",
"src/tools/rustfmt/tests/source/unsafe-field.rs",
"src/tools/rustfmt/tests/target/guard_patterns.rs",
"src/tools/rustfmt/tests/target/unsafe-binders.rs",
"src/tools/rustfmt/tests/target/unsafe-field.rs",
"tests/ui/associated-type-bounds/all-generics-lookup.rs",
"tests/ui/associated-type-bounds/implied-from-self-where-clause.rs",
"tests/ui/async-await/pin-ergonomics/sugar.rs",
"tests/ui/lint/keyword-idents/auxiliary/multi_file_submod.rs",
"tests/ui/structs/auxiliary/struct_field_default.rs",
"tests/ui/structs/default-field-values-support.rs",
"tests/ui/traits/const-traits/const-bound-in-host.rs",
"tests/ui/traits/const-traits/const-drop.rs",
"tests/ui/traits/const-traits/const-impl-trait.rs",
"tests/ui/traits/const-traits/const-in-closure.rs",
"tests/ui/traits/const-traits/dont-ice-on-const-pred-for-bounds.rs",
"tests/ui/traits/const-traits/effects/auxiliary/minicore.rs",
"tests/ui/traits/const-traits/effects/dont-prefer-param-env-for-infer-self-ty.rs",
"tests/ui/traits/const-traits/effects/minicore-const-fn-early-bound.rs",
"tests/ui/traits/const-traits/predicate-entailment-passes.rs",
"tests/ui/unsafe-fields/auxiliary/unsafe-fields-crate-dep.rs",

// 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",
Expand All @@ -31,7 +57,6 @@ static EXCLUDE_FILES: &[&str] = &[

// TODO: return type notation: `where T: Trait<method(): Send>` and `where T::method(..): Send`
// https://github.com/dtolnay/syn/issues/1434
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/return_type_syntax_assoc_type_bound.rs",
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/return_type_syntax_in_path.rs",
"src/tools/rustfmt/tests/target/return-type-notation.rs",
"tests/ui/associated-type-bounds/return-type-notation/basic.rs",
Expand Down Expand Up @@ -180,7 +205,6 @@ static EXCLUDE_FILES: &[&str] = &[
// https://github.com/dtolnay/syn/issues/1770
"src/tools/rustfmt/tests/source/pin_sugar.rs",
"src/tools/rustfmt/tests/target/pin_sugar.rs",
"tests/ui/async-await/pin-sugar.rs",

// TODO: `|| .. .method()`
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/closure_range_method_call.rs",
Expand Down Expand Up @@ -231,10 +255,8 @@ static EXCLUDE_FILES: &[&str] = &[
"tests/rustdoc/generic-associated-types/gats.rs",

// Deprecated trait object syntax with parenthesized generic arguments and no dyn keyword
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/bare_dyn_types_with_paren_as_generic_args.rs",
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/path_fn_trait_args.rs",
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/typepathfn_with_coloncolon.rs",
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/value_parameters_no_patterns.rs",
"src/tools/rustfmt/tests/source/attrib.rs",
"src/tools/rustfmt/tests/source/closure.rs",
"src/tools/rustfmt/tests/source/existential_type.rs",
Expand Down

0 comments on commit 2e69ff0

Please sign in to comment.