]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/if-in-in.stderr
Rollup merge of #55448 - Mokosha:SortAtIndex, r=bluss
[rust.git] / src / test / ui / parser / if-in-in.stderr
1 error: expected iterable, found keyword `in`
2   --> $DIR/if-in-in.rs:2:14
3    |
4 LL |     for i in in 1..2 {
5    |           ---^^
6    |           |
7    |           help: remove the duplicated `in`
8    |
9    = note: if you meant to use emplacement syntax, it is obsolete (for now, anyway)
10    = note: for more information on the status of emplacement syntax, see <https://github.com/rust-lang/rust/issues/27779#issuecomment-378416911>
11
12 error: aborting due to previous error
13