mirror of
https://github.com/dtolnay/thiserror.git
synced 2025-04-03 21:07:38 +03:00
Improve error on malformed format attribute
This commit is contained in:
parent
003a89fc01
commit
5d3edf9d7e
2 changed files with 9 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
error: expected string literal
|
||||
error: expected string literal or `transparent`
|
||||
--> tests/ui/concat-display.rs:8:17
|
||||
|
|
||||
8 | #[error(concat!("invalid ", $what))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue