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