File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -92,13 +92,14 @@ static BREAK_VALUE: [(Input, Action); 3] = [
92
92
( Otherwise , SetState ( & POSTFIX ) ) ,
93
93
] ;
94
94
95
- static CLOSURE : [ ( Input , Action ) ; 6 ] = [
95
+ static CLOSURE : [ ( Input , Action ) ; 7 ] = [
96
96
( Keyword ( "async" ) , SetState ( & CLOSURE ) ) ,
97
97
( Keyword ( "move" ) , SetState ( & CLOSURE ) ) ,
98
98
( Punct ( "," ) , SetState ( & CLOSURE ) ) ,
99
99
( Punct ( ">" ) , SetState ( & CLOSURE ) ) ,
100
100
( Punct ( "|" ) , SetState ( & CLOSURE_ARGS ) ) ,
101
101
( ConsumeLifetime , SetState ( & CLOSURE ) ) ,
102
+ ( ConsumeIdent , SetState ( & CLOSURE ) ) ,
102
103
] ;
103
104
104
105
static CLOSURE_ARGS : [ ( Input , Action ) ; 2 ] = [
Original file line number Diff line number Diff line change @@ -20,11 +20,6 @@ const REVISION: &str = "3672a55b7cfd0a12e7097197b6242872473ffaa7";
20
20
21
21
#[ rustfmt:: skip]
22
22
static EXCLUDE_FILES : & [ & str ] = & [
23
- // TODO: non-lifetime binders on closures: `let _ = for<T> || {}`
24
- // https://github.com/dtolnay/syn/issues/1906
25
- "src/tools/rustfmt/tests/target/non-lifetime-binders.rs" ,
26
- "src/tools/rustfmt/tests/source/non-lifetime-binders.rs" ,
27
-
28
23
// TODO: const traits: `pub const trait Trait {}`
29
24
// https://github.com/dtolnay/syn/issues/1887
30
25
"src/tools/clippy/tests/ui/assign_ops.rs" ,
You can’t perform that action at this time.
0 commit comments