2024-07-16 22:43:30 +00:00
|
|
|
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
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - const A: usize ⩵ 2;
|
|
|
|
|
LL + const A: usize == 2;
|
|
|
|
|
|
|
2024-07-16 22:43:30 +00:00
|
|
|
|
|
|
|
|
error: unexpected `==`
|
|
|
|
|
--> $DIR/unicode-double-equals-recovery.rs:1:16
|
|
|
|
|
|
|
|
|
|
|
LL | const A: usize ⩵ 2;
|
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
|
|
help: try using `=` instead
|
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - const A: usize ⩵ 2;
|
|
|
|
|
LL + const A: usize = 2;
|
|
|
|
|
|
|
2024-07-16 22:43:30 +00:00
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|