diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:26:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:26:03 +0000 |
commit | 9918693037dce8aa4bb6f08741b6812923486c18 (patch) | |
tree | 21d2b40bec7e6a7ea664acee056eb3d08e15a1cf /tests/ui/unsized | |
parent | Releasing progress-linux version 1.75.0+dfsg1-5~progress7.99u1. (diff) | |
download | rustc-9918693037dce8aa4bb6f08741b6812923486c18.tar.xz rustc-9918693037dce8aa4bb6f08741b6812923486c18.zip |
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/unsized')
-rw-r--r-- | tests/ui/unsized/box-instead-of-dyn-fn.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/issue-30355.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/issue-71659.current.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/issue-71659.next.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/issue-71659.rs | 2 | ||||
-rw-r--r-- | tests/ui/unsized/issue-75707.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/issue-75899.rs | 2 | ||||
-rw-r--r-- | tests/ui/unsized/issue-91801.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/issue-91803.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/param-mentioned-by-different-field.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/return-unsized-from-trait-method.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/unsized-bare-typaram.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/unsized-enum.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/unsized-fn-arg.stderr | 2 | ||||
-rw-r--r-- | tests/ui/unsized/unsized-inherent-impl-self-type.stderr | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/tests/ui/unsized/box-instead-of-dyn-fn.stderr b/tests/ui/unsized/box-instead-of-dyn-fn.stderr index 6087f5c54..f2828b384 100644 --- a/tests/ui/unsized/box-instead-of-dyn-fn.stderr +++ b/tests/ui/unsized/box-instead-of-dyn-fn.stderr @@ -16,6 +16,6 @@ LL | if a % 2 == 0 { LL ~ Box::new(move || println!("{a}")) | -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0746`. diff --git a/tests/ui/unsized/issue-30355.stderr b/tests/ui/unsized/issue-30355.stderr index 71bbdf5de..cfbcd0aea 100644 --- a/tests/ui/unsized/issue-30355.stderr +++ b/tests/ui/unsized/issue-30355.stderr @@ -8,6 +8,6 @@ LL | &X(*Y) = note: all function arguments must have a statically known size = help: unsized fn params are gated as an unstable feature -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/unsized/issue-71659.current.stderr b/tests/ui/unsized/issue-71659.current.stderr index 6b982a739..df0b998fd 100644 --- a/tests/ui/unsized/issue-71659.current.stderr +++ b/tests/ui/unsized/issue-71659.current.stderr @@ -13,6 +13,6 @@ LL | where LL | Self: CastTo<T>, | ^^^^^^^^^ required by this bound in `Cast::cast` -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/unsized/issue-71659.next.stderr b/tests/ui/unsized/issue-71659.next.stderr index 6b982a739..df0b998fd 100644 --- a/tests/ui/unsized/issue-71659.next.stderr +++ b/tests/ui/unsized/issue-71659.next.stderr @@ -13,6 +13,6 @@ LL | where LL | Self: CastTo<T>, | ^^^^^^^^^ required by this bound in `Cast::cast` -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/unsized/issue-71659.rs b/tests/ui/unsized/issue-71659.rs index db5c2e205..65a867caf 100644 --- a/tests/ui/unsized/issue-71659.rs +++ b/tests/ui/unsized/issue-71659.rs @@ -1,5 +1,5 @@ // revisions: current next -//[next] compile-flags: -Ztrait-solver=next +//[next] compile-flags: -Znext-solver #![feature(unsize)] diff --git a/tests/ui/unsized/issue-75707.stderr b/tests/ui/unsized/issue-75707.stderr index aa7f9c78f..f5f2f7192 100644 --- a/tests/ui/unsized/issue-75707.stderr +++ b/tests/ui/unsized/issue-75707.stderr @@ -15,6 +15,6 @@ note: required by a bound in `f` LL | fn f<P: Processing + ?Sized>() { | ^^^^^^^^^^ required by this bound in `f` -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/unsized/issue-75899.rs b/tests/ui/unsized/issue-75899.rs index 719431032..56c8a72bf 100644 --- a/tests/ui/unsized/issue-75899.rs +++ b/tests/ui/unsized/issue-75899.rs @@ -1,5 +1,5 @@ // revisions: current next -//[next] compile-flags: -Ztrait-solver=next +//[next] compile-flags: -Znext-solver // check-pass trait Trait {} diff --git a/tests/ui/unsized/issue-91801.stderr b/tests/ui/unsized/issue-91801.stderr index da5c43224..d1d652d18 100644 --- a/tests/ui/unsized/issue-91801.stderr +++ b/tests/ui/unsized/issue-91801.stderr @@ -9,6 +9,6 @@ help: box the return type, and wrap all of the returned values in `Box::new` LL | fn or<'a>(first: &'static Validator<'a>, second: &'static Validator<'a>) -> Box<Validator<'a>> { | ++++ + -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0746`. diff --git a/tests/ui/unsized/issue-91803.stderr b/tests/ui/unsized/issue-91803.stderr index a43b8d074..632af02b4 100644 --- a/tests/ui/unsized/issue-91803.stderr +++ b/tests/ui/unsized/issue-91803.stderr @@ -13,6 +13,6 @@ help: box the return type, and wrap all of the returned values in `Box::new` LL | fn or<'a>(first: &'static dyn Foo<'a>) -> Box<dyn Foo<'a>> { | ++++ + -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0746`. diff --git a/tests/ui/unsized/param-mentioned-by-different-field.stderr b/tests/ui/unsized/param-mentioned-by-different-field.stderr index b1ad0cb5b..0d8b59aa9 100644 --- a/tests/ui/unsized/param-mentioned-by-different-field.stderr +++ b/tests/ui/unsized/param-mentioned-by-different-field.stderr @@ -9,6 +9,6 @@ LL | let y: &Foo<[u8]> = &x; = note: expected reference `&Foo<[u8]>` found reference `&Foo<[u8; 1]>` -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0308`. diff --git a/tests/ui/unsized/return-unsized-from-trait-method.stderr b/tests/ui/unsized/return-unsized-from-trait-method.stderr index 671d40993..82446151a 100644 --- a/tests/ui/unsized/return-unsized-from-trait-method.stderr +++ b/tests/ui/unsized/return-unsized-from-trait-method.stderr @@ -4,6 +4,6 @@ error[E0161]: cannot move a value of type `[u8]` LL | let _ = f.foo(); | ^^^^^^^ the size of `[u8]` cannot be statically determined -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0161`. diff --git a/tests/ui/unsized/unsized-bare-typaram.stderr b/tests/ui/unsized/unsized-bare-typaram.stderr index daef98440..aa3f8fae7 100644 --- a/tests/ui/unsized/unsized-bare-typaram.stderr +++ b/tests/ui/unsized/unsized-bare-typaram.stderr @@ -17,6 +17,6 @@ LL - fn foo<T: ?Sized>() { bar::<T>() } LL + fn foo<T>() { bar::<T>() } | -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/unsized/unsized-enum.stderr b/tests/ui/unsized/unsized-enum.stderr index 9e6408e81..8c56a83a5 100644 --- a/tests/ui/unsized/unsized-enum.stderr +++ b/tests/ui/unsized/unsized-enum.stderr @@ -24,6 +24,6 @@ LL - fn foo2<T: ?Sized>() { not_sized::<Foo<T>>() } LL + fn foo2<T>() { not_sized::<Foo<T>>() } | -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/unsized/unsized-fn-arg.stderr b/tests/ui/unsized/unsized-fn-arg.stderr index 0f6fadde1..c8a6622b8 100644 --- a/tests/ui/unsized/unsized-fn-arg.stderr +++ b/tests/ui/unsized/unsized-fn-arg.stderr @@ -17,6 +17,6 @@ help: function arguments must have a statically known size, borrowed types alway LL | fn f<T: ?Sized>(t: &T) {} | + -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. diff --git a/tests/ui/unsized/unsized-inherent-impl-self-type.stderr b/tests/ui/unsized/unsized-inherent-impl-self-type.stderr index 9e5ad92eb..3e16a20d7 100644 --- a/tests/ui/unsized/unsized-inherent-impl-self-type.stderr +++ b/tests/ui/unsized/unsized-inherent-impl-self-type.stderr @@ -24,6 +24,6 @@ LL - impl<X: ?Sized> S5<X> { LL + impl<X> S5<X> { | -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`. |