diff options
Diffstat (limited to 'third_party/rust/thiserror/tests/ui/transparent-display.rs')
-rw-r--r-- | third_party/rust/thiserror/tests/ui/transparent-display.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/rust/thiserror/tests/ui/transparent-display.rs b/third_party/rust/thiserror/tests/ui/transparent-display.rs new file mode 100644 index 0000000000..2a59f183ba --- /dev/null +++ b/third_party/rust/thiserror/tests/ui/transparent-display.rs @@ -0,0 +1,8 @@ +use thiserror::Error; + +#[derive(Error, Debug)] +#[error(transparent)] +#[error("...")] +pub struct Error(anyhow::Error); + +fn main() {} |