diff options
Diffstat (limited to 'vendor/thiserror/tests/ui/invalid-input-impl-anyway.rs')
-rw-r--r-- | vendor/thiserror/tests/ui/invalid-input-impl-anyway.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/vendor/thiserror/tests/ui/invalid-input-impl-anyway.rs b/vendor/thiserror/tests/ui/invalid-input-impl-anyway.rs deleted file mode 100644 index 0a0bcbe..0000000 --- a/vendor/thiserror/tests/ui/invalid-input-impl-anyway.rs +++ /dev/null @@ -1,11 +0,0 @@ -use thiserror::Error; - -#[derive(Error, Debug)] -#[error] -pub struct MyError; - -fn main() { - // No error on the following line. Thiserror emits an Error impl despite the - // bad attribute. - _ = &MyError as &dyn std::error::Error; -} |