Fix trybuild tests for latest nightly

This commit is contained in:
J Henry Waugh 2020-09-05 12:30:12 -05:00 committed by Stephen Chung
parent 99b8228630
commit 9882b97fca
2 changed files with 4 additions and 4 deletions

View File

@ -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`

View File

@ -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`