forked from gentoo-utils/gentoo-utils
git-subtree-dir: subprojects/thiserror git-subtree-split: 247eab5d79e27ad28859afdf8bc600a4242829b7
11 lines
401 B
Plaintext
11 lines
401 B
Plaintext
error: expected one of: string literal, `transparent`, `fmt`
|
|
--> 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)
|