summaryrefslogtreecommitdiffstats
path: root/tests/ui/label/label-static.stderr
blob: 1d3251d1b5f452bc68cff80ecb4739492583ba1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: invalid label name `'static`
  --> $DIR/label-static.rs:2:5
   |
LL |     'static: loop {
   |     ^^^^^^^

error: invalid label name `'static`
  --> $DIR/label-static.rs:3:15
   |
LL |         break 'static
   |               ^^^^^^^

error: aborting due to 2 previous errors