]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetime_starts_expressions.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / lifetime_starts_expressions.stderr
1 error: expected identifier, found keyword `loop`
2   --> $DIR/lifetime_starts_expressions.rs:16:26
3    |
4 LL |     loop { break 'label: loop { break 'label 42; }; }
5    |                          ^^^^ expected identifier, found keyword
6
7 error: expected type, found keyword `loop`
8   --> $DIR/lifetime_starts_expressions.rs:16:26
9    |
10 LL |     loop { break 'label: loop { break 'label 42; }; }
11    |                          ^^^^ expecting a type here because of type ascription
12
13 error: aborting due to 2 previous errors
14