summaryrefslogtreecommitdiffstats
path: root/src/test/ui/regions/outlives-with-missing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/regions/outlives-with-missing.rs')
-rw-r--r--src/test/ui/regions/outlives-with-missing.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/regions/outlives-with-missing.rs b/src/test/ui/regions/outlives-with-missing.rs
deleted file mode 100644
index 29d89718b..000000000
--- a/src/test/ui/regions/outlives-with-missing.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-trait HandlerFamily {
- type Target;
-}
-
-struct HandlerWrapper<H: HandlerFamily>(H);
-
-impl<H: HandlerFamily> HandlerWrapper<H> {
- pub fn set_handler(&self, handler: &H::Target)
- where
- T: Send + Sync + 'static,
- //~^ ERROR cannot find type `T` in this scope
- {
- }
-}
-
-fn main() {}