thiserror-core 1.0.50

derive(Error)
Documentation
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)