]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0204]: the trait `Copy` may not be implemented for this type |
0731742a | 2 | --> $DIR/range_traits-2.rs:3:10 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | #[derive(Copy, Clone)] |
b7449926 XL |
5 | | ^^^^ |
6 | LL | struct R(Range<usize>); | |
7 | | ------------ this field does not implement `Copy` | |
74b04a01 | 8 | | |
17df50a5 | 9 | = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) |
b7449926 XL |
10 | |
11 | error: aborting due to previous error | |
12 | ||
13 | For more information about this error, try `rustc --explain E0204`. |