]> git.lizzy.rs Git - rust.git/blob - src/test/ui/inference/char-as-str-multi.stderr
Move `{core,std}::stream::Stream` to `{core,std}::async_iter::AsyncIterator`.
[rust.git] / src / test / 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: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.