From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/thiserror/tests/test_lints.rs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 vendor/thiserror/tests/test_lints.rs (limited to 'vendor/thiserror/tests/test_lints.rs') diff --git a/vendor/thiserror/tests/test_lints.rs b/vendor/thiserror/tests/test_lints.rs deleted file mode 100644 index 59699a4..0000000 --- a/vendor/thiserror/tests/test_lints.rs +++ /dev/null @@ -1,18 +0,0 @@ -use thiserror::Error; - -pub use std::error::Error; - -#[test] -fn test_unused_qualifications() { - #![deny(unused_qualifications)] - - // Expansion of derive(Error) macro can't know whether something like - // std::error::Error is already imported in the caller's scope so it must - // suppress unused_qualifications. - - #[derive(Debug, Error)] - #[error("...")] - pub struct MyError; - - let _: MyError; -} -- cgit v1.2.3