]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/underscore-suffix-for-string.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
[rust.git] / src / test / ui / parser / underscore-suffix-for-string.rs
1 // check-pass
2
3 fn main() {
4     let _ = "Foo"_;
5     //~^ WARNING underscore literal suffix is not allowed
6     //~| WARNING this was previously accepted
7     //~| NOTE issue #42326
8 }