]> git.proxmox.com Git - rustc.git/blob - src/test/ui/range/range_traits-3.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / range / range_traits-3.stderr
1 error[E0204]: the trait `Copy` may not be implemented for this type
2 --> $DIR/range_traits-3.rs:3:10
3 |
4 LL | #[derive(Copy, Clone)]
5 | ^^^^
6 LL | struct R(RangeFrom<usize>);
7 | ---------------- this field does not implement `Copy`
8 |
9 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0204`.