summary refs log tree commit diff
path: root/src/test/ui/parser/keyword.stderr
blob: 262467b69072059f4165ef04c1adcdb93dc20509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: expected identifier, found keyword `break`
  --> $DIR/keyword.rs:1:9
   |
LL | pub mod break {
   |         ^^^^^ expected identifier, found keyword
help: you can escape reserved keywords to use them as identifiers
   |
LL | pub mod r#break {
   |         ^^^^^^^

error: aborting due to previous error