rust/tests/ui/macros/macro-interpolation.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

16 lines
548 B
Text

error: expected identifier, found `!`
--> $DIR/macro-interpolation.rs:21:19
|
LL | <$type as $trait>::$name
| ^^^^^^ expected identifier
...
LL | let _: qpath!(ty, <str as !>::Owned);
| -----------------------------
| |
| this macro call doesn't expand to a type
| in this macro invocation
|
= note: this error originates in the macro `qpath` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 1 previous error