summaryrefslogtreecommitdiffstats
path: root/src/test/ui/type-alias-impl-trait/implied_bounds_from_types.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/type-alias-impl-trait/implied_bounds_from_types.stderr')
-rw-r--r--src/test/ui/type-alias-impl-trait/implied_bounds_from_types.stderr16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/type-alias-impl-trait/implied_bounds_from_types.stderr b/src/test/ui/type-alias-impl-trait/implied_bounds_from_types.stderr
deleted file mode 100644
index cbc5e6073..000000000
--- a/src/test/ui/type-alias-impl-trait/implied_bounds_from_types.stderr
+++ /dev/null
@@ -1,16 +0,0 @@
-error: lifetime may not live long enough
- --> $DIR/implied_bounds_from_types.rs:17:9
- |
-LL | impl<'a> Convert<'a> for () {
- | -- lifetime `'a` defined here
-...
-LL | fn convert<'b, T: ?Sized>(_proof: &'b WithLifetime<&'a ()>, x: &'a T) -> &'b T {
- | -- lifetime `'b` defined here
-...
-LL | x
- | ^ associated function was supposed to return data with lifetime `'b` but it is returning data with lifetime `'a`
- |
- = help: consider adding the following bound: `'a: 'b`
-
-error: aborting due to previous error
-