Skip to content

Commit

Permalink
Add ui test of invalid expression syntax in display attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 10, 2024
1 parent 8d06fb5 commit 5b36e37
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/ui/expression-fallback.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use thiserror::Error;

#[derive(Error, Debug)]
#[error("".yellow)]
pub struct ArgError;

fn main() {}

0 comments on commit 5b36e37

Please sign in to comment.