rust/src/test/ui/parser/underscore-suffix-for-string.rs
2019-07-03 06:30:28 +09:00

9 lines
217 B
Rust

// build-pass (FIXME(62277): could be check-pass?)
fn main() {
let _ = "Foo"_;
//~^ WARNING underscore literal suffix is not allowed
//~| WARNING this was previously accepted
//~| NOTE issue #42326
}