diff options
Diffstat (limited to 'tests/ui/range/range_traits-4.rs')
-rw-r--r-- | tests/ui/range/range_traits-4.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/range/range_traits-4.rs b/tests/ui/range/range_traits-4.rs new file mode 100644 index 000000000..b8e88559b --- /dev/null +++ b/tests/ui/range/range_traits-4.rs @@ -0,0 +1,9 @@ +// build-pass (FIXME(62277): could be check-pass?) + +use std::ops::*; + +#[derive(Copy, Clone)] +struct R(RangeTo<usize>); + + +fn main() {} |