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