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