summaryrefslogtreecommitdiffstats
path: root/tests/ui/rust-2018/edition-lint-infer-outlives.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rust-2018/edition-lint-infer-outlives.stderr')
-rw-r--r--tests/ui/rust-2018/edition-lint-infer-outlives.stderr11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/ui/rust-2018/edition-lint-infer-outlives.stderr b/tests/ui/rust-2018/edition-lint-infer-outlives.stderr
index e655fb484..dbf301fd8 100644
--- a/tests/ui/rust-2018/edition-lint-infer-outlives.stderr
+++ b/tests/ui/rust-2018/edition-lint-infer-outlives.stderr
@@ -11,6 +11,15 @@ LL | #![deny(explicit_outlives_requirements)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: outlives requirements can be inferred
+ --> $DIR/edition-lint-infer-outlives.rs:805:56
+ |
+LL | struct InferredWhereBoundWithInlineBound<'a, T: ?Sized>
+ | ________________________________________________________^
+LL | |
+LL | | where T: 'a,
+ | |________________^ help: remove this bound
+
+error: outlives requirements can be inferred
--> $DIR/edition-lint-infer-outlives.rs:26:31
|
LL | struct TeeOutlivesAy<'a, T: 'a> {
@@ -922,5 +931,5 @@ error: outlives requirements can be inferred
LL | union BeeWhereOutlivesAyTeeWhereDebug<'a, 'b, T> where 'b: 'a, T: Debug {
| ^^^^^^^^ help: remove this bound
-error: aborting due to 153 previous errors
+error: aborting due to 154 previous errors