rust/tests/ui/parser/underscore-suffix-for-strin...

15 lines
342 B
Plaintext

error: underscore literal suffix is not allowed
--> $DIR/underscore-suffix-for-string.rs:6:18
|
LL | let _ = "Foo"_;
| ^
error: underscore literal suffix is not allowed
--> $DIR/underscore-suffix-for-string.rs:15:16
|
LL | sink!("Foo"_);
| ^
error: aborting due to 2 previous errors