Sign in
rust
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
wf
/
range-expr-root-of-constant-issue-40749.rs
blob: 7871612dc8b753677b29b124a6c711ee6a61bef4 [
file
] [
log
] [
blame
]
fn
main
()
{
[
0
;
..
10
];
//~^ ERROR mismatched types
//~| NOTE expected type `usize`
//~| NOTE found struct `RangeTo<{integer}>`
//~| NOTE expected `usize`, found `RangeTo<{integer}>
}