summaryrefslogtreecommitdiffstats
path: root/src/test/ui/impl-header-lifetime-elision/explicit-and-elided-same-header.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/impl-header-lifetime-elision/explicit-and-elided-same-header.rs')
-rw-r--r--src/test/ui/impl-header-lifetime-elision/explicit-and-elided-same-header.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/impl-header-lifetime-elision/explicit-and-elided-same-header.rs b/src/test/ui/impl-header-lifetime-elision/explicit-and-elided-same-header.rs
deleted file mode 100644
index 6301ac4a3..000000000
--- a/src/test/ui/impl-header-lifetime-elision/explicit-and-elided-same-header.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-// run-pass
-
-#![allow(warnings)]
-
-// This works for functions...
-fn foo<'a>(x: &str, y: &'a str) {}
-
-// ...so this should work for impls
-impl<'a> Foo<&str> for &'a str {}
-trait Foo<T> {}
-
-fn main() {
-}