]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/recover-from-homoglyph.stderr
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
[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    |            expected due to this
19
20 error: aborting due to 2 previous errors
21
22 For more information about this error, try `rustc --explain E0308`.