summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/bounded-hr-lifetime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/bounded-hr-lifetime.rs')
-rw-r--r--src/test/rustdoc-ui/bounded-hr-lifetime.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/rustdoc-ui/bounded-hr-lifetime.rs b/src/test/rustdoc-ui/bounded-hr-lifetime.rs
deleted file mode 100644
index b2e000b97..000000000
--- a/src/test/rustdoc-ui/bounded-hr-lifetime.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-// This test ensures that rustdoc doesn't panic on higher-ranked lifetimes
-// with bounds, because an error should have already been emitted by rustc.
-
-pub fn hrlt<'b, 'c>()
-where
- for<'a: 'b + 'c> &'a (): std::fmt::Debug,
- //~^ ERROR lifetime bounds cannot be used in this context
-{
-}