mirror of
https://github.com/dtolnay/thiserror.git
synced 2025-04-04 13:27:38 +03:00
Add ui test of invalid expression syntax in display attribute
This commit is contained in:
parent
8d06fb5549
commit
5b36e375c2
1 changed files with 7 additions and 0 deletions
7
tests/ui/expression-fallback.rs
Normal file
7
tests/ui/expression-fallback.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
use thiserror::Error;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
#[error("".yellow)]
|
||||
pub struct ArgError;
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue