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

7 lines
98 B
Rust

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