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