summaryrefslogtreecommitdiff
path: root/subprojects/thiserror/tests/ui/concat-display.stderr
blob: 73718aee6b08e7e756ef73c6ac717b6e023de3e0 (plain)
1
2
3
4
5
6
7
8
9
10
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)