summaryrefslogtreecommitdiffstats
path: root/src/test/ui/regions/regions-assoc-type-static-bound.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/regions/regions-assoc-type-static-bound.rs')
-rw-r--r--src/test/ui/regions/regions-assoc-type-static-bound.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/ui/regions/regions-assoc-type-static-bound.rs b/src/test/ui/regions/regions-assoc-type-static-bound.rs
deleted file mode 100644
index 1458787ea..000000000
--- a/src/test/ui/regions/regions-assoc-type-static-bound.rs
+++ /dev/null
@@ -1,19 +0,0 @@
-// run-pass
-#![allow(dead_code)]
-// Test that the compiler considers the 'static bound declared in the
-// trait. Issue #20890.
-
-// pretty-expanded FIXME #23616
-
-trait Foo {
- type Value: 'static;
- fn dummy(&self) { }
-}
-
-fn require_static<T: 'static>() {}
-
-fn takes_foo<F: Foo>() {
- require_static::<F::Value>()
-}
-
-fn main() { }