summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/bound-lifetime-constrained.clause.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/associated-types/bound-lifetime-constrained.clause.stderr')
-rw-r--r--src/test/ui/associated-types/bound-lifetime-constrained.clause.stderr15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/associated-types/bound-lifetime-constrained.clause.stderr b/src/test/ui/associated-types/bound-lifetime-constrained.clause.stderr
deleted file mode 100644
index f089f27f0..000000000
--- a/src/test/ui/associated-types/bound-lifetime-constrained.clause.stderr
+++ /dev/null
@@ -1,15 +0,0 @@
-error[E0582]: binding for associated type `Output` references lifetime `'a`, which does not appear in the trait input types
- --> $DIR/bound-lifetime-constrained.rs:38:63
- |
-LL | fn clause1<T>() where T: for<'a> Fn(<() as Foo<'a>>::Item) -> &'a i32 {
- | ^^^^^^^
-
-error[E0582]: binding for associated type `Output` references lifetime `'a`, which does not appear in the trait input types
- --> $DIR/bound-lifetime-constrained.rs:43:42
- |
-LL | fn clause2<T>() where T: for<'a> Fn() -> <() as Foo<'a>>::Item {
- | ^^^^^^^^^^^^^^^^^^^^^
-
-error: aborting due to 2 previous errors
-
-For more information about this error, try `rustc --explain E0582`.