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 needs a span_label and updated title, changing it from:
error[E0204]: the trait `Copy` may not be implemented for this type; field `ty` does not implement `Copy`
--> src/test/compile-fail/E0204.rs:17:10
|
17 | #[derive(Copy)] //~ ERROR E0204
| ^^^^
src/test/compile-fail/E0204.rs:17:10: 17:14 note: in this expansion of #[derive(Copy)] (defined in src/test/compile-fail/E0204.rs)
To:
error[E0204]: the trait `Copy` may not be implemented for this type
--> src/test/compile-fail/E0204.rs:17:10
|
17 | #[derive(Copy)] //~ ERROR E0204
| ^^^^ field `ty` does not implement `Copy`
src/test/compile-fail/E0204.rs:17:10: 17:14 note: in this expansion of #[derive(Copy)] (defined in src/test/compile-fail/E0204.rs)
Note: I'm not sure the "expansion of..." part is helpful, you could also remove that.
Activity
Rollup merge of rust-lang#35455 - munyari:e0204, r=jonathandturner
Rollup merge of rust-lang#35455 - munyari:e0204, r=jonathandturner
KiChjang commentedon Aug 8, 2016
@munyari Are you also working on the bonus part of this issue?
sophiajt commentedon Sep 16, 2016
@KiChjang - the expansion note should be gone now, so I'm going to close this.