]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-90993.stderr
Rollup merge of #106470 - ehuss:tidy-no-wasm, r=Mark-Simulacrum
[rust.git] / tests / ui / parser / issues / issue-90993.stderr
1 error: unexpected token: `...`
2   --> $DIR/issue-90993.rs:2:5
3    |
4 LL |     ...=.
5    |     ^^^
6    |
7 help: use `..` for an exclusive range
8    |
9 LL |     ..=.
10    |     ~~
11 help: or `..=` for an inclusive range
12    |
13 LL |     ..==.
14    |     ~~~
15
16 error: unexpected `=` after inclusive range
17   --> $DIR/issue-90993.rs:2:5
18    |
19 LL |     ...=.
20    |     ^^^^ help: use `..=` instead
21    |
22    = note: inclusive ranges end with a single equals sign (`..=`)
23
24 error: expected one of `-`, `;`, `}`, or path, found `.`
25   --> $DIR/issue-90993.rs:2:9
26    |
27 LL |     ...=.
28    |         ^ expected one of `-`, `;`, `}`, or path
29
30 error: aborting due to 3 previous errors
31