]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-40749.rs
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[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 type `std::ops::RangeTo<{integer}>`
6 }