Skip to content

Commit

Permalink
Update ui test suite to nightly-2023-05-05
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 5, 2023
1 parent 65cc5e6 commit 07ff1c7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/ui/missing-supertrait.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ error[E0277]: the trait bound `dyn MyTrait: Clone` is not satisfied
note: required by a bound in `clone_box`
--> src/lib.rs
|
| pub fn clone_box<T>(t: &T) -> Box<T>
| --------- required by a bound in this function
| where
| T: ?Sized + DynClone,
| ^^^^^^^^ required by this bound in `clone_box`
= 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)
Expand All @@ -34,6 +37,9 @@ error[E0277]: the trait bound `dyn MyTrait + Send: Clone` is not satisfied
note: required by a bound in `clone_box`
--> src/lib.rs
|
| pub fn clone_box<T>(t: &T) -> Box<T>
| --------- required by a bound in this function
| where
| T: ?Sized + DynClone,
| ^^^^^^^^ required by this bound in `clone_box`
= 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)
Expand All @@ -54,6 +60,9 @@ error[E0277]: the trait bound `dyn MyTrait + Sync: Clone` is not satisfied
note: required by a bound in `clone_box`
--> src/lib.rs
|
| pub fn clone_box<T>(t: &T) -> Box<T>
| --------- required by a bound in this function
| where
| T: ?Sized + DynClone,
| ^^^^^^^^ required by this bound in `clone_box`
= 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)
Expand All @@ -74,6 +83,9 @@ error[E0277]: the trait bound `dyn MyTrait + Send + Sync: Clone` is not satisfie
note: required by a bound in `clone_box`
--> src/lib.rs
|
| pub fn clone_box<T>(t: &T) -> Box<T>
| --------- required by a bound in this function
| where
| T: ?Sized + DynClone,
| ^^^^^^^^ required by this bound in `clone_box`
= 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 comments on commit 07ff1c7

Please sign in to comment.