1 2 3 4 5 6 7 8 9
// build-pass (FIXME(62277): could be check-pass?) use std::ops::*; #[derive(Copy, Clone)] struct R(RangeTo<usize>); fn main() {}