summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/recover-from-homoglyph.stderr
blob: f11ca9fd584076eaa002ca7b23a0e2721d7dff98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error: unknown start of token: \u{37e}
  --> $DIR/recover-from-homoglyph.rs:2:17
   |
LL |     println!("");
   |                 ^
   |
help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
   |
LL |     println!("");
   |                 ~

error[E0308]: mismatched types
  --> $DIR/recover-from-homoglyph.rs:3:20
   |
LL |     let x: usize = ();
   |            -----   ^^ expected `usize`, found `()`
   |            |
   |            expected due to this

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.