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