summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-90993.stderr
blob: ab6bce410e6ccc317242daa585e63d8ddccda3b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
error: unexpected token: `...`
  --> $DIR/issue-90993.rs:2:5
   |
LL |     ...=.
   |     ^^^
   |
help: use `..` for an exclusive range
   |
LL |     ..=.
   |     ~~
help: or `..=` for an inclusive range
   |
LL |     ..==.
   |     ~~~

error: unexpected `=` after inclusive range
  --> $DIR/issue-90993.rs:2:5
   |
LL |     ...=.
   |     ^^^^ help: use `..=` instead
   |
   = note: inclusive ranges end with a single equals sign (`..=`)

error: expected one of `-`, `;`, `}`, or path, found `.`
  --> $DIR/issue-90993.rs:2:9
   |
LL |     ...=.
   |         ^ expected one of `-`, `;`, `}`, or path

error: aborting due to 3 previous errors