]> git.lizzy.rs Git - rust.git/blob - tests/ui/inference/char-as-str-multi.stderr
Move /src/test to /tests
[rust.git] / tests / ui / inference / char-as-str-multi.stderr
1 error[E0308]: mismatched types
2   --> $DIR/char-as-str-multi.rs:5:19
3    |
4 LL |     let _: char = "foo";
5    |            ----   ^^^^^ expected `char`, found `&str`
6    |            |
7    |            expected due to this
8
9 error[E0308]: mismatched types
10   --> $DIR/char-as-str-multi.rs:6:19
11    |
12 LL |     let _: char = "";
13    |            ----   ^^ expected `char`, found `&str`
14    |            |
15    |            expected due to this
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0308`.