Tweak diagnostics on shadowing lifetimes/labels

This commit is contained in:
Yuki Okushi 2020-12-02 11:39:42 +09:00
parent 6645da366e
commit cdcce11504
13 changed files with 95 additions and 95 deletions

View file

@ -2,7 +2,7 @@ warning: label name `'b` shadows a label name that is already in scope
--> $DIR/macro-lifetime-used-with-labels.rs:21:9
|
LL | 'b: loop {
| ^^ lifetime 'b already in scope
| ^^ label `'b` already in scope
...
LL | 'b: loop {
| -- first declared here