rust/tests/ui/range/range_traits-6.rs

7 lines
103 B
Rust

use std::ops::*;
#[derive(Copy, Clone)] //~ ERROR Copy
struct R(RangeInclusive<usize>);
fn main() {}