11 lines
390 B
Plaintext
11 lines
390 B
Plaintext
warning: lifetime name `'a` shadows a label name that is already in scope
|
|
--> $DIR/loops-reject-lifetime-shadowing-label.rs:21:55
|
|
|
|
|
LL | 'a: loop {
|
|
| -- first declared here
|
|
LL | let b = Box::new(|x: &i8| *x) as Box<dyn for <'a> Fn(&'a i8) -> i8>;
|
|
| ^^ label `'a` already in scope
|
|
|
|
warning: 1 warning emitted
|
|
|