]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/underscore-suffix-for-string.stderr
Make underscore_literal_suffix a hard error.
[rust.git] / src / test / ui / parser / underscore-suffix-for-string.stderr
1 error: underscore literal suffix is not allowed
2   --> $DIR/underscore-suffix-for-string.rs:6:18
3    |
4 LL |     let _ = "Foo"_;
5    |                  ^
6
7 error: underscore literal suffix is not allowed
8   --> $DIR/underscore-suffix-for-string.rs:15:16
9    |
10 LL |     sink!("Foo"_);
11    |                ^
12
13 error: aborting due to 2 previous errors
14