]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/recover-from-homoglyph.stderr
d69cba7a106530037f2b4c0e482c472f40e04a13
[rust.git] / src / test / ui / parser / recover-from-homoglyph.stderr
1 error: unknown start of token: \u{37e}
2   --> $DIR/recover-from-homoglyph.rs:2:17
3    |
4 LL |     println!("");
5    |                 ^
6    |
7 help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
8    |
9 LL |     println!("");
10    |                 ^
11
12 error[E0308]: mismatched types
13   --> $DIR/recover-from-homoglyph.rs:3:20
14    |
15 LL |     let x: usize = ();
16    |                    ^^ expected usize, found ()
17    |
18    = note:   expected type `usize`
19            found unit type `()`
20
21 error: aborting due to 2 previous errors
22
23 For more information about this error, try `rustc --explain E0308`.