summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lifetimes/re-empty-in-error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lifetimes/re-empty-in-error.rs')
-rw-r--r--src/test/ui/lifetimes/re-empty-in-error.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/lifetimes/re-empty-in-error.rs b/src/test/ui/lifetimes/re-empty-in-error.rs
deleted file mode 100644
index 554028a96..000000000
--- a/src/test/ui/lifetimes/re-empty-in-error.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// We didn't have a single test mentioning
-// `ReEmpty` and this test changes that.
-fn foo<'a>(_a: &'a u32) where for<'b> &'b (): 'a {
-}
-
-fn main() {
- foo(&10);
- //~^ ERROR higher-ranked lifetime error
- //~| NOTE could not prove
-}