diff options
Diffstat (limited to 'tests/ui/range/range_traits-2.rs')
-rw-r--r-- | tests/ui/range/range_traits-2.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/range/range_traits-2.rs b/tests/ui/range/range_traits-2.rs new file mode 100644 index 000000000..234d7a64d --- /dev/null +++ b/tests/ui/range/range_traits-2.rs @@ -0,0 +1,6 @@ +use std::ops::*; + +#[derive(Copy, Clone)] //~ ERROR Copy +struct R(Range<usize>); + +fn main() {} |