]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-40749.rs
Rollup merge of #87529 - FabianWolff:issue-87496, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-40749.rs
1 fn main() {
2     [0; ..10];
3     //~^ ERROR mismatched types
4     //~| expected type `usize`
5     //~| found struct `RangeTo<{integer}>`
6 }