Fix trybuild tests for latest nightly
This commit is contained in:
parent
2737fe8aa3
commit
900c54bc1f
@ -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
|
||||
|
|
||||
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
|
||||
|
|
||||
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