summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-qualification.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/lint-qualification.rs')
-rw-r--r--src/test/ui/lint/lint-qualification.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/ui/lint/lint-qualification.rs b/src/test/ui/lint/lint-qualification.rs
deleted file mode 100644
index 0cace0ca0..000000000
--- a/src/test/ui/lint/lint-qualification.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-#![deny(unused_qualifications)]
-#![allow(deprecated)]
-
-mod foo {
- pub fn bar() {}
-}
-
-fn main() {
- use foo::bar;
- foo::bar(); //~ ERROR: unnecessary qualification
- bar();
-
- let _ = || -> Result<(), ()> { try!(Ok(())); Ok(()) }; // issue #37345
-
- macro_rules! m { () => {
- $crate::foo::bar(); // issue #37357
- ::foo::bar(); // issue #38682
- } }
- m!();
-}