@@ -15,7 +15,7 @@ use std::path::{Path, PathBuf};
15
15
use tar:: Archive ;
16
16
use walkdir:: { DirEntry , WalkDir } ;
17
17
18
- const REVISION : & str = "86d69c705a552236a622eee3fdea94bf13c5f102 " ;
18
+ const REVISION : & str = "0aeaa5eb22180fdf12a8489e63c4daa18da6f236 " ;
19
19
20
20
#[ rustfmt:: skip]
21
21
static EXCLUDE_FILES : & [ & str ] = & [
@@ -29,11 +29,32 @@ static EXCLUDE_FILES: &[&str] = &[
29
29
"tests/rustdoc/inline_cross/auxiliary/non_lifetime_binders.rs" ,
30
30
"tests/rustdoc/non_lifetime_binders.rs" ,
31
31
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
+
32
52
// TODO: return type notation: `where T: Trait<method(): Send>` and `where T::method(..): Send`
33
53
// 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" ,
35
54
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/return_type_syntax_in_path.rs" ,
36
55
"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" ,
37
58
"tests/ui/associated-type-bounds/return-type-notation/basic.rs" ,
38
59
"tests/ui/associated-type-bounds/return-type-notation/higher-ranked-bound-works.rs" ,
39
60
"tests/ui/associated-type-bounds/return-type-notation/namespace-conflict.rs" ,
@@ -169,6 +190,15 @@ static EXCLUDE_FILES: &[&str] = &[
169
190
// https://github.com/dtolnay/syn/issues/1632
170
191
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/const_trait_bound.rs" ,
171
192
"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" ,
172
202
"tests/ui/traits/const-traits/tilde-const-syntax.rs" ,
173
203
174
204
// TODO: unparenthesized half-open range pattern inside slice pattern: `[1..]`
@@ -180,7 +210,7 @@ static EXCLUDE_FILES: &[&str] = &[
180
210
// https://github.com/dtolnay/syn/issues/1770
181
211
"src/tools/rustfmt/tests/source/pin_sugar.rs" ,
182
212
"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" ,
184
214
185
215
// TODO: `|| .. .method()`
186
216
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/closure_range_method_call.rs" ,
@@ -231,10 +261,8 @@ static EXCLUDE_FILES: &[&str] = &[
231
261
"tests/rustdoc/generic-associated-types/gats.rs" ,
232
262
233
263
// 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" ,
235
264
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/path_fn_trait_args.rs" ,
236
265
"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" ,
238
266
"src/tools/rustfmt/tests/source/attrib.rs" ,
239
267
"src/tools/rustfmt/tests/source/closure.rs" ,
240
268
"src/tools/rustfmt/tests/source/existential_type.rs" ,
@@ -268,7 +296,10 @@ static EXCLUDE_FILES: &[&str] = &[
268
296
"tests/ui/parser/bounds-obj-parens.rs" ,
269
297
270
298
// 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" ,
271
300
"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" ,
272
303
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/use_tree_abs_star.rs" ,
273
304
"src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0015_use_tree.rs" ,
274
305
"src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0029_range_forms.rs" ,
@@ -305,6 +336,7 @@ static EXCLUDE_FILES: &[&str] = &[
305
336
"tests/ui/dyn-keyword/dyn-2015-no-warnings-without-lints.rs" ,
306
337
"tests/ui/editions/edition-keywords-2015-2015.rs" ,
307
338
"tests/ui/editions/edition-keywords-2015-2018.rs" ,
339
+ "tests/ui/lint/keyword-idents/auxiliary/multi_file_submod.rs" ,
308
340
"tests/ui/lint/lint_pre_expansion_extern_module_aux.rs" ,
309
341
"tests/ui/macros/macro-comma-support-rpass.rs" ,
310
342
"tests/ui/macros/try-macro.rs" ,
0 commit comments