summaryrefslogtreecommitdiffstats
path: root/src/test/ui/range/range_traits-3.rs
blob: 2d597cce5ad56c3429546a6f5563021040d70c66 (plain)
1
2
3
4
5
6
use std::ops::*;

#[derive(Copy, Clone)] //~ ERROR Copy
struct R(RangeFrom<usize>);

fn main() {}