summaryrefslogtreecommitdiffstats
path: root/tests/ui/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs')
-rw-r--r--tests/ui/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/ui/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs b/tests/ui/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs
deleted file mode 100644
index b97fdf4df..000000000
--- a/tests/ui/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-// run-pass
-#![allow(dead_code)]
-// A basic test of using a higher-ranked trait bound.
-
-// pretty-expanded FIXME #23616
-
-trait FnLike<A,R> {
- fn call(&self, arg: A) -> R;
-}
-
-type FnObject<'b> = dyn for<'a> FnLike<&'a isize, &'a isize> + 'b;
-
-fn main() {
-}