]> git.proxmox.com Git - rustc.git/blame - src/test/ui/range/range_traits-2.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / range / range_traits-2.stderr
CommitLineData
b7449926 1error[E0204]: the trait `Copy` may not be implemented for this type
0731742a 2 --> $DIR/range_traits-2.rs:3:10
b7449926 3 |
532ac7d7 4LL | #[derive(Copy, Clone)]
b7449926
XL
5 | ^^^^
6LL | 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
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0204`.