]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0277]: the trait bound `Error: Clone` is not satisfied |
ba9703b0 | 2 | --> $DIR/derives-span-Clone-enum-struct-variant.rs:9:6 |
b7449926 | 3 | | |
136023e0 XL |
4 | LL | #[derive(Clone)] |
5 | | ----- in this derive macro expansion | |
6 | ... | |
532ac7d7 | 7 | LL | x: Error |
1b1a35ee | 8 | | ^^^^^^^^ the trait `Clone` is not implemented for `Error` |
b7449926 | 9 | | |
17df50a5 | 10 | = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) |
b7449926 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0277`. |