]> git.lizzy.rs Git - rust.git/blob - src/test/ui/inference/char-as-str-multi.rs
Move `{core,std}::stream::Stream` to `{core,std}::async_iter::AsyncIterator`.
[rust.git] / src / test / ui / inference / char-as-str-multi.rs
1 // When a MULTI-character string literal is used where a char should be,
2 // DO NOT suggest changing to single quotes.
3
4 fn main() {
5     let _: char = "foo"; //~ ERROR mismatched types
6 }