]>
Commit | Line | Data |
---|---|---|
a2a8927a XL |
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 | ||
5099ac24 FG |
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 | |
a2a8927a XL |
18 | |
19 | For more information about this error, try `rustc --explain E0308`. |