]> git.lizzy.rs Git - rust.git/blob - tests/ui/range/range_traits-3.stderr
Rollup merge of #103800 - danielhenrymantilla:stabilize-pin-macro, r=dtolnay
[rust.git] / tests / 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 the derive macro `Copy` (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`.