blob: df1e19ab8e4b1d80c2f961871466dd8a7a3e2357 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: expected string literal
--> $DIR/concat-display.rs:8:17
|
8 | #[error(concat!("invalid ", $what))]
| ^^^^^^
...
13 | error_type!(Error, "foo");
| -------------------------- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|