Skip to content

Commit 1810278

Browse files
authored
Merge pull request #1794 from dtolnay/up
Update test suite to nightly-2024-12-15
2 parents 46fb73c + 5d33783 commit 1810278

File tree

1 file changed

+37
-5
lines changed

1 file changed

+37
-5
lines changed

tests/repo/mod.rs

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use std::path::{Path, PathBuf};
1515
use tar::Archive;
1616
use walkdir::{DirEntry, WalkDir};
1717

18-
const REVISION: &str = "86d69c705a552236a622eee3fdea94bf13c5f102";
18+
const REVISION: &str = "0aeaa5eb22180fdf12a8489e63c4daa18da6f236";
1919

2020
#[rustfmt::skip]
2121
static EXCLUDE_FILES: &[&str] = &[
@@ -29,11 +29,32 @@ static EXCLUDE_FILES: &[&str] = &[
2929
"tests/rustdoc/inline_cross/auxiliary/non_lifetime_binders.rs",
3030
"tests/rustdoc/non_lifetime_binders.rs",
3131

32+
// TODO: unsafe binders: `unsafe<'a> &'a T`
33+
// https://github.com/dtolnay/syn/issues/1791
34+
"src/tools/rustfmt/tests/source/unsafe-binders.rs",
35+
"src/tools/rustfmt/tests/target/unsafe-binders.rs",
36+
37+
// TODO: unsafe fields: `struct S { unsafe field: T }`
38+
// https://github.com/dtolnay/syn/issues/1792
39+
"src/tools/rustfmt/tests/source/unsafe-field.rs",
40+
"src/tools/rustfmt/tests/target/unsafe-field.rs",
41+
"tests/ui/unsafe-fields/auxiliary/unsafe-fields-crate-dep.rs",
42+
43+
// TODO: guard patterns: `match expr { (A if f()) | (B if g()) => {} }`
44+
// https://github.com/dtolnay/syn/issues/1793
45+
"src/tools/rustfmt/tests/target/guard_patterns.rs",
46+
47+
// TODO: struct field default: `struct S { field: i32 = 1 }`
48+
// https://github.com/dtolnay/syn/issues/1774
49+
"tests/ui/structs/auxiliary/struct_field_default.rs",
50+
"tests/ui/structs/default-field-values-support.rs",
51+
3252
// TODO: return type notation: `where T: Trait<method(): Send>` and `where T::method(..): Send`
3353
// https://github.com/dtolnay/syn/issues/1434
34-
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/return_type_syntax_assoc_type_bound.rs",
3554
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/return_type_syntax_in_path.rs",
3655
"src/tools/rustfmt/tests/target/return-type-notation.rs",
56+
"tests/ui/associated-type-bounds/all-generics-lookup.rs",
57+
"tests/ui/associated-type-bounds/implied-from-self-where-clause.rs",
3758
"tests/ui/associated-type-bounds/return-type-notation/basic.rs",
3859
"tests/ui/associated-type-bounds/return-type-notation/higher-ranked-bound-works.rs",
3960
"tests/ui/associated-type-bounds/return-type-notation/namespace-conflict.rs",
@@ -169,6 +190,15 @@ static EXCLUDE_FILES: &[&str] = &[
169190
// https://github.com/dtolnay/syn/issues/1632
170191
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/const_trait_bound.rs",
171192
"tests/ui/generic-const-items/const-trait-impl.rs",
193+
"tests/ui/traits/const-traits/const-bound-in-host.rs",
194+
"tests/ui/traits/const-traits/const-drop.rs",
195+
"tests/ui/traits/const-traits/const-impl-trait.rs",
196+
"tests/ui/traits/const-traits/const-in-closure.rs",
197+
"tests/ui/traits/const-traits/dont-ice-on-const-pred-for-bounds.rs",
198+
"tests/ui/traits/const-traits/effects/auxiliary/minicore.rs",
199+
"tests/ui/traits/const-traits/effects/dont-prefer-param-env-for-infer-self-ty.rs",
200+
"tests/ui/traits/const-traits/effects/minicore-const-fn-early-bound.rs",
201+
"tests/ui/traits/const-traits/predicate-entailment-passes.rs",
172202
"tests/ui/traits/const-traits/tilde-const-syntax.rs",
173203

174204
// TODO: unparenthesized half-open range pattern inside slice pattern: `[1..]`
@@ -180,7 +210,7 @@ static EXCLUDE_FILES: &[&str] = &[
180210
// https://github.com/dtolnay/syn/issues/1770
181211
"src/tools/rustfmt/tests/source/pin_sugar.rs",
182212
"src/tools/rustfmt/tests/target/pin_sugar.rs",
183-
"tests/ui/async-await/pin-sugar.rs",
213+
"tests/ui/async-await/pin-ergonomics/sugar.rs",
184214

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

233263
// Deprecated trait object syntax with parenthesized generic arguments and no dyn keyword
234-
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/bare_dyn_types_with_paren_as_generic_args.rs",
235264
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/path_fn_trait_args.rs",
236265
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/typepathfn_with_coloncolon.rs",
237-
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/value_parameters_no_patterns.rs",
238266
"src/tools/rustfmt/tests/source/attrib.rs",
239267
"src/tools/rustfmt/tests/source/closure.rs",
240268
"src/tools/rustfmt/tests/source/existential_type.rs",
@@ -268,7 +296,10 @@ static EXCLUDE_FILES: &[&str] = &[
268296
"tests/ui/parser/bounds-obj-parens.rs",
269297

270298
// Various extensions to Rust syntax made up by rust-analyzer
299+
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/assoc_type_bound.rs",
271300
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/const_param_default_path.rs",
301+
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/field_expr.rs",
302+
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/generic_arg_bounds.rs",
272303
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/use_tree_abs_star.rs",
273304
"src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0015_use_tree.rs",
274305
"src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0029_range_forms.rs",
@@ -305,6 +336,7 @@ static EXCLUDE_FILES: &[&str] = &[
305336
"tests/ui/dyn-keyword/dyn-2015-no-warnings-without-lints.rs",
306337
"tests/ui/editions/edition-keywords-2015-2015.rs",
307338
"tests/ui/editions/edition-keywords-2015-2018.rs",
339+
"tests/ui/lint/keyword-idents/auxiliary/multi_file_submod.rs",
308340
"tests/ui/lint/lint_pre_expansion_extern_module_aux.rs",
309341
"tests/ui/macros/macro-comma-support-rpass.rs",
310342
"tests/ui/macros/try-macro.rs",

0 commit comments

Comments
 (0)