Closed
Description
From: src/test/compile-fail/E0184.rs
Error E0184 needs a span_label, updating it from:
error[E0184]: the trait `Copy` may not be implemented for this type; the type has a destructor
--> src/test/compile-fail/E0184.rs:11:10
|
11 | #[derive(Copy)] //~ ERROR E0184
| ^^^^
src/test/compile-fail/E0184.rs:11:10: 11:14 note: in this expansion of #[derive(Copy)] (defined in src/test/compile-fail/E0184.rs)
To:
error[E0184]: the trait `Copy` may not be implemented for this type; the type has a destructor
--> src/test/compile-fail/E0184.rs:11:10
|
11 | #[derive(Copy)] //~ ERROR E0184
| ^^^^ Copy not allowed on types with destructors
src/test/compile-fail/E0184.rs:11:10: 11:14 note: in this expansion of #[derive(Copy)] (defined in src/test/compile-fail/E0184.rs)
Bonus: I'm not sure that note is helping, you can probably just remove it.