xref
: /
dports
/
lang
/
rust
/
rustc-1.58.1-src
/
src
/
test
/
ui
/
mismatched_types
/
for-loop-has-unit-body.rs
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
main()
1
fn
main
() {
2
for
x
in
0
..
3
{
3
x
//~ ERROR mismatched types
4
}
5
}
6