diff options
Diffstat (limited to 'vendor/thiserror/tests/ui/no-display.rs')
-rw-r--r-- | vendor/thiserror/tests/ui/no-display.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/thiserror/tests/ui/no-display.rs b/vendor/thiserror/tests/ui/no-display.rs new file mode 100644 index 0000000..181a66e --- /dev/null +++ b/vendor/thiserror/tests/ui/no-display.rs @@ -0,0 +1,12 @@ +use thiserror::Error; + +#[derive(Debug)] +struct NoDisplay; + +#[derive(Error, Debug)] +#[error("thread: {thread}")] +pub struct Error { + thread: NoDisplay, +} + +fn main() {} |