Skip to content

Commit 07ff1c7

Browse files
committed
Update ui test suite to nightly-2023-05-05
1 parent 65cc5e6 commit 07ff1c7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/ui/missing-supertrait.stderr

+12
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ error[E0277]: the trait bound `dyn MyTrait: Clone` is not satisfied
1414
note: required by a bound in `clone_box`
1515
--> src/lib.rs
1616
|
17+
| pub fn clone_box<T>(t: &T) -> Box<T>
18+
| --------- required by a bound in this function
19+
| where
1720
| T: ?Sized + DynClone,
1821
| ^^^^^^^^ required by this bound in `clone_box`
1922
= note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -34,6 +37,9 @@ error[E0277]: the trait bound `dyn MyTrait + Send: Clone` is not satisfied
3437
note: required by a bound in `clone_box`
3538
--> src/lib.rs
3639
|
40+
| pub fn clone_box<T>(t: &T) -> Box<T>
41+
| --------- required by a bound in this function
42+
| where
3743
| T: ?Sized + DynClone,
3844
| ^^^^^^^^ required by this bound in `clone_box`
3945
= note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -54,6 +60,9 @@ error[E0277]: the trait bound `dyn MyTrait + Sync: Clone` is not satisfied
5460
note: required by a bound in `clone_box`
5561
--> src/lib.rs
5662
|
63+
| pub fn clone_box<T>(t: &T) -> Box<T>
64+
| --------- required by a bound in this function
65+
| where
5766
| T: ?Sized + DynClone,
5867
| ^^^^^^^^ required by this bound in `clone_box`
5968
= note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -74,6 +83,9 @@ error[E0277]: the trait bound `dyn MyTrait + Send + Sync: Clone` is not satisfie
7483
note: required by a bound in `clone_box`
7584
--> src/lib.rs
7685
|
86+
| pub fn clone_box<T>(t: &T) -> Box<T>
87+
| --------- required by a bound in this function
88+
| where
7789
| T: ?Sized + DynClone,
7890
| ^^^^^^^^ required by this bound in `clone_box`
7991
= note: this error originates in the macro `$crate::__internal_clone_trait_object` which comes from the expansion of the macro `dyn_clone::clone_trait_object` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)