Tweak diagnostics on shadowing lifetimes/labels
This commit is contained in:
parent
6645da366e
commit
cdcce11504
13 changed files with 95 additions and 95 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue