From 9918693037dce8aa4bb6f08741b6812923486c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Jun 2024 11:26:03 +0200 Subject: Merging upstream version 1.76.0+dfsg1. Signed-off-by: Daniel Baumann --- .../object-lifetime-default-dyn-binding-nonstatic1.stderr | 2 +- .../object-lifetime-default-dyn-binding-nonstatic2.stderr | 2 +- .../object-lifetime-default-dyn-binding-nonstatic3.stderr | 2 +- tests/ui/object-lifetime/object-lifetime-default-elision.stderr | 2 +- .../object-lifetime/object-lifetime-default-from-rptr-box-error.stderr | 2 +- .../object-lifetime-default-from-rptr-struct-error.stderr | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/ui/object-lifetime') diff --git a/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic1.stderr b/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic1.stderr index f06a9da1d..8d44b4de5 100644 --- a/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic1.stderr +++ b/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic1.stderr @@ -4,6 +4,6 @@ error[E0228]: the lifetime bound for this object type cannot be deduced from con LL | fn bar<'a>(x: &'a str) -> &'a dyn Foo<'a, Item = dyn Bar> { &() } | ^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0228`. diff --git a/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic2.stderr b/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic2.stderr index 51d8450af..0846dd607 100644 --- a/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic2.stderr +++ b/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic2.stderr @@ -4,6 +4,6 @@ error[E0228]: the lifetime bound for this object type cannot be deduced from con LL | fn bar<'a>(x: &'a str) -> &'a dyn Foo<'a, Item = dyn Bar> { &() } | ^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0228`. diff --git a/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic3.stderr b/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic3.stderr index f721bf394..688f8af08 100644 --- a/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic3.stderr +++ b/tests/ui/object-lifetime/object-lifetime-default-dyn-binding-nonstatic3.stderr @@ -4,6 +4,6 @@ error[E0228]: the lifetime bound for this object type cannot be deduced from con LL | fn bar(x: &str) -> &dyn Foo { &() } | ^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0228`. diff --git a/tests/ui/object-lifetime/object-lifetime-default-elision.stderr b/tests/ui/object-lifetime/object-lifetime-default-elision.stderr index 61e96f59f..b59956879 100644 --- a/tests/ui/object-lifetime/object-lifetime-default-elision.stderr +++ b/tests/ui/object-lifetime/object-lifetime-default-elision.stderr @@ -11,5 +11,5 @@ LL | ss | = help: consider adding the following bound: `'a: 'b` -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/object-lifetime/object-lifetime-default-from-rptr-box-error.stderr b/tests/ui/object-lifetime/object-lifetime-default-from-rptr-box-error.stderr index 7d6f9f39d..b49e506a1 100644 --- a/tests/ui/object-lifetime/object-lifetime-default-from-rptr-box-error.stderr +++ b/tests/ui/object-lifetime/object-lifetime-default-from-rptr-box-error.stderr @@ -6,5 +6,5 @@ LL | fn c<'a>(t: &'a Box, mut ss: SomeStruct<'a>) { LL | ss.t = t; | ^^^^^^^^ assignment requires that `'a` must outlive `'static` -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/object-lifetime/object-lifetime-default-from-rptr-struct-error.stderr b/tests/ui/object-lifetime/object-lifetime-default-from-rptr-struct-error.stderr index 2bc8e0978..9e2422fdc 100644 --- a/tests/ui/object-lifetime/object-lifetime-default-from-rptr-struct-error.stderr +++ b/tests/ui/object-lifetime/object-lifetime-default-from-rptr-struct-error.stderr @@ -6,5 +6,5 @@ LL | fn c<'a>(t: &'a MyBox, mut ss: SomeStruct<'a>) { LL | ss.t = t; | ^^^^^^^^ assignment requires that `'a` must outlive `'static` -error: aborting due to previous error +error: aborting due to 1 previous error -- cgit v1.2.3