fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
363 B8 linesraw
1warning: lifetime name `'a` shadows a label name that is already in scope
2  --> $DIR/loops-reject-lifetime-shadowing-label.rs:21:55
3   |
4LL |     'a: loop {
5   |     -- first declared here
6LL |         let b = Box::new(|x: &i8| *x) as Box<dyn for <'a> Fn(&'a i8) -> i8>;
7   |                                                       ^^ lifetime 'a already in scope
8