summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/underscore-suffix-for-string.stderr
blob: 2fe2c130eb2116fca15fe0ab54223ffc6063412a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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