Fix trybuild tests for latest nightly
This commit is contained in:
parent
99b8228630
commit
9882b97fca
@ -1,5 +1,5 @@
|
|||||||
error[E0277]: the trait bound `NonClonable: std::clone::Clone` is not satisfied
|
error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
|
||||||
--> $DIR/non_clonable.rs:11:23
|
--> $DIR/non_clonable.rs:11:23
|
||||||
|
|
|
|
||||||
11 | pub fn test_fn(input: NonClonable) -> bool {
|
11 | pub fn test_fn(input: NonClonable) -> bool {
|
||||||
| ^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `NonClonable`
|
| ^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable`
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
error[E0277]: the trait bound `NonClonable: std::clone::Clone` is not satisfied
|
error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
|
||||||
--> $DIR/non_clonable_second.rs:11:27
|
--> $DIR/non_clonable_second.rs:11:27
|
||||||
|
|
|
|
||||||
11 | pub fn test_fn(a: u32, b: NonClonable) -> bool {
|
11 | pub fn test_fn(a: u32, b: NonClonable) -> bool {
|
||||||
| ^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `NonClonable`
|
| ^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable`
|
||||||
|
Loading…
Reference in New Issue
Block a user