summaryrefslogtreecommitdiffstats
path: root/tests/ui/higher-rank-trait-bounds/issue-42114.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/higher-rank-trait-bounds/issue-42114.rs')
-rw-r--r--tests/ui/higher-rank-trait-bounds/issue-42114.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/ui/higher-rank-trait-bounds/issue-42114.rs b/tests/ui/higher-rank-trait-bounds/issue-42114.rs
deleted file mode 100644
index 01515fdc9..000000000
--- a/tests/ui/higher-rank-trait-bounds/issue-42114.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-// check-pass
-
-fn lifetime<'a>()
-where
- &'a (): 'a,
-{
- /* do nothing */
-}
-
-fn doesnt_work()
-where
- for<'a> &'a (): 'a,
-{
- /* do nothing */
-}
-
-fn main() {
- lifetime();
- doesnt_work();
-}