summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-40749.rs
blob: 0a847853b121ec3570c02903f05bf8bdbe2dca4d (plain)
1
2
3
4
5
6
fn main() {
    [0; ..10];
    //~^ ERROR mismatched types
    //~| expected type `usize`
    //~| found struct `RangeTo<{integer}>`
}