rust/src/test/ui/parser/underscore-suffix-for-string.stderr

10 lines
389 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
warning: underscore literal suffix is not allowed
--> $DIR/underscore-suffix-for-string.rs:4:18
2018-10-20 15:36:17 -05:00
|
LL | let _ = "Foo"_;
| ^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
2020-02-07 06:07:02 -06:00
= note: see issue #42326 <https://github.com/rust-lang/rust/issues/42326> for more information
2018-10-20 15:36:17 -05:00