rust/tests/ui/issues/issue-40749.rs
2023-01-11 09:32:08 +00:00

6 lines
135 B
Rust

fn main() {
[0; ..10];
//~^ ERROR mismatched types
//~| expected type `usize`
//~| found struct `RangeTo<{integer}>`
}