1 warning: lifetime name `'a` shadows a label name that is already in scope
2 --> $DIR/loops-reject-lifetime-shadowing-label.rs:21:55
5 | -- first declared here
6 LL | let b = Box::new(|x: &i8| *x) as Box<dyn for <'a> Fn(&'a i8) -> i8>;
7 | ^^ label `'a` already in scope
9 warning: lifetime name `'b` shadows a label name that is already in scope
10 --> $DIR/loops-reject-lifetime-shadowing-label.rs:28:55
13 | -- first declared here
14 LL | let b = Box::new(|x: &()| ()) as Box<dyn for <'b> Fn(&'b ())>;
15 | ^^ label `'b` already in scope
17 warning: 2 warnings emitted