rust/src/test/ui/parser/if-in-in.stderr

14 lines
514 B
Plaintext
Raw Normal View History

2018-09-19 16:23:21 -07:00
error: expected iterable, found keyword `in`
--> $DIR/if-in-in.rs:2:14
2018-09-19 16:23:21 -07:00
|
2018-11-27 10:56:36 +01:00
LL | for i in in 1..2 { //~ ERROR expected iterable, found keyword `in`
2018-09-19 16:23:21 -07:00
| ---^^
| |
| help: remove the duplicated `in`
|
= note: if you meant to use emplacement syntax, it is obsolete (for now, anyway)
= note: for more information on the status of emplacement syntax, see <https://github.com/rust-lang/rust/issues/27779#issuecomment-378416911>
error: aborting due to previous error