@@ -7,7 +7,7 @@ LL | () => { force_expr!(Vec::new()) }
7
7
LL | assert!(matches!(x, En::A(make_vec!())));
8
8
| ----------- in this macro invocation
9
9
|
10
- = note: the : expr fragment specifier forces the metavariable's content to be an expression
10
+ = note: the ` expr` fragment specifier forces the metavariable's content to be an expression
11
11
= note: this error originates in the macro `make_vec` (in Nightly builds, run with -Z macro-backtrace for more info)
12
12
13
13
error: arbitrary expressions aren't allowed in patterns
@@ -19,7 +19,7 @@ LL | () => { force_pat!(get_usize(), get_usize()) }
19
19
LL | assert!(matches!(5, make_pat!()));
20
20
| ----------- in this macro invocation
21
21
|
22
- = note: the : expr fragment specifier forces the metavariable's content to be an expression
22
+ = note: the ` expr` fragment specifier forces the metavariable's content to be an expression
23
23
= note: this error originates in the macro `make_pat` (in Nightly builds, run with -Z macro-backtrace for more info)
24
24
25
25
error: arbitrary expressions aren't allowed in patterns
@@ -31,7 +31,7 @@ LL | () => { force_pat!(get_usize(), get_usize()) }
31
31
LL | assert!(matches!(5, make_pat!()));
32
32
| ----------- in this macro invocation
33
33
|
34
- = note: the : expr fragment specifier forces the metavariable's content to be an expression
34
+ = note: the ` expr` fragment specifier forces the metavariable's content to be an expression
35
35
= note: this error originates in the macro `make_pat` (in Nightly builds, run with -Z macro-backtrace for more info)
36
36
37
37
error: aborting due to 3 previous errors
0 commit comments