about summary refs log tree commit diff
path: root/src/test/ui/impl-header-lifetime-elision/path-elided.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/impl-header-lifetime-elision/path-elided.rs')
-rw-r--r--src/test/ui/impl-header-lifetime-elision/path-elided.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/impl-header-lifetime-elision/path-elided.rs b/src/test/ui/impl-header-lifetime-elision/path-elided.rs
deleted file mode 100644
index 40a52efc7f9..00000000000
--- a/src/test/ui/impl-header-lifetime-elision/path-elided.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-#![allow(warnings)]
-
-trait MyTrait { }
-
-struct Foo<'a> { x: &'a u32 }
-
-impl MyTrait for Foo {
-    //~^ ERROR implicit elided lifetime not allowed here
-}
-
-fn main() {}