diff options
Diffstat (limited to 'vendor/thiserror/tests/ui/transparent-display.rs')
-rw-r--r-- | vendor/thiserror/tests/ui/transparent-display.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/thiserror/tests/ui/transparent-display.rs b/vendor/thiserror/tests/ui/transparent-display.rs new file mode 100644 index 0000000..2a59f18 --- /dev/null +++ b/vendor/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() {} |