about summary refs log tree commit diff
path: root/tests/ui/parser/recover/unicode-double-equals-recovery.stderr
blob: 1931fd4ee45fc9204522d269786dbbd62c0329b1 (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
error: unknown start of token: \u{2a75}
  --> $DIR/unicode-double-equals-recovery.rs:1:16
   |
LL | const A: usize ⩵ 2;
   |                ^
   |
help: Unicode character '⩵' (Two Consecutive Equals Signs) looks like '==' (Double Equals Sign), but it is not
   |
LL - const A: usize ⩵ 2;
LL + const A: usize == 2;
   |

error: unexpected `==`
  --> $DIR/unicode-double-equals-recovery.rs:1:16
   |
LL | const A: usize ⩵ 2;
   |                ^
   |
help: try using `=` instead
   |
LL - const A: usize ⩵ 2;
LL + const A: usize = 2;
   |

error: aborting due to 2 previous errors