summary refs log tree commit diff
path: root/src/test/ui/issues/issue-40749.rs
blob: 14908c3653e280396c6d92fcd3882cde13515e1a (plain)
1
2
3
4
5
6
fn main() {
    [0; ..10];
    //~^ ERROR mismatched types
    //~| expected type `usize`
    //~| found type `std::ops::RangeTo<{integer}>`
}