]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-40749.rs
Auto merge of #106742 - compiler-errors:new-solver-make-it-not-ice, r=lcnr
[rust.git] / tests / 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 }