blob: 359581aa28d877dc18d403b284be2ea74c1aa2ed (
plain)
1
2
3
4
5
6
7
|
error[E0204]: the trait `std::marker::Copy` cannot be implemented for this type
--> tests/ui/derive_noncopy.rs:4:12
|
4 | struct TryCopy {
| ^^^^^^^
5 | other: Other,
| ------------ this field does not implement `std::marker::Copy`
|