rust/tests/ui/str/str-as-char.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
114 B
Rust
Raw Normal View History

//@ run-rustfix
fn main() {
2019-01-17 20:24:17 +00:00
println!(''); //~ ERROR character literal may only contain one codepoint
}