@@ -7,7 +7,7 @@ LL | () => { force_expr!(Vec::new()) }
77LL | assert!(matches!(x, En::A(make_vec!())));
88 | ----------- in this macro invocation
99 |
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
1111 = note: this error originates in the macro `make_vec` (in Nightly builds, run with -Z macro-backtrace for more info)
1212
1313error: arbitrary expressions aren't allowed in patterns
@@ -19,7 +19,7 @@ LL | () => { force_pat!(get_usize(), get_usize()) }
1919LL | assert!(matches!(5, make_pat!()));
2020 | ----------- in this macro invocation
2121 |
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
2323 = note: this error originates in the macro `make_pat` (in Nightly builds, run with -Z macro-backtrace for more info)
2424
2525error: arbitrary expressions aren't allowed in patterns
@@ -31,7 +31,7 @@ LL | () => { force_pat!(get_usize(), get_usize()) }
3131LL | assert!(matches!(5, make_pat!()));
3232 | ----------- in this macro invocation
3333 |
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
3535 = note: this error originates in the macro `make_pat` (in Nightly builds, run with -Z macro-backtrace for more info)
3636
3737error: aborting due to 3 previous errors
0 commit comments