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
error[E0204]: the trait `Copy` may not be implemented for this type
--> <source>:23:17
|
23 | #[derive(Clone, Copy)]
| ^^^^
...
26 | s: S
| ---- this field does not implement `Copy`
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
GCC Version
master
The text was updated successfully, but these errors were encountered:
Summary
expected to get E0204 but got E0308 and the actual message is buggy
Reproducer
I tried this code:
Does the code make use of any (1.49) nightly feature ?
Godbolt link
https://godbolt.org/z/M3sveonGx
Actual behavior
got
Expected behavior
I expected to see... (rustc)
GCC Version
master
The text was updated successfully, but these errors were encountered: