rustc_errors: hide "in this macro invocation" when redundant, more explicitly.
This commit is contained in:
parent
5eaa9a150d
commit
ab080973cb
9 changed files with 53 additions and 68 deletions
|
|
@ -33,10 +33,7 @@ error: `$x:expr` may be followed by `=`, which is not allowed for `expr` fragmen
|
|||
--> $DIR/same-sequence-span.rs:19:1
|
||||
|
|
||||
LL | proc_macro_sequence::make_foo!();
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
| |
|
||||
| not allowed after `expr` fragments
|
||||
| in this macro invocation
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not allowed after `expr` fragments
|
||||
|
|
||||
= note: allowed there are: `=>`, `,` or `;`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue