2020-09-05 19:30:12 +02:00
|
|
|
error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
|
2020-08-01 18:52:26 +02:00
|
|
|
--> $DIR/non_clonable_second.rs:11:27
|
|
|
|
|
|
|
|
|
11 | pub fn test_fn(a: u32, b: NonClonable) -> bool {
|
2020-09-05 19:30:12 +02:00
|
|
|
| ^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable`
|