rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.
This commit is contained in:
parent
ab080973cb
commit
4c7eb59e81
280 changed files with 888 additions and 119 deletions
|
|
@ -8,6 +8,7 @@ LL | let mk_pat!();
|
|||
| --------- in this macro invocation
|
||||
|
|
||||
= note: only allowed in tuple, tuple struct, and slice patterns
|
||||
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error: `..` patterns are not allowed here
|
||||
--> $DIR/rest-pat-semantic-disallowed.rs:18:9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue