You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change error message to
```nocode
error[E0205]: the trait `Copy` may not be implemented for type `Foo`
--> $DIR/issue-19950.rs:17:6
|
14 | MyVariant(NoCopy)
| ----------------- this variant doesn't implement `Copy`
...
17 | impl Copy for Foo {}
| ^^^^ variant `Foo::MyVariant` doesn't implement `Copy`
error[E0204]: the trait `Copy` may not be implemented for type `Bar`
--> $DIR/issue-19950.rs:23:1
|
20 | item: NoCopy,
| ------------ this field doesn't implement `Copy`
...
23 | impl Copy for Bar {}
| ^^^^^^^^^^^^^^^^^^^^ field `item` in struct `Bar` doesn't implement `Copy`
```
0 commit comments