1 error: cannot introduce explicit parameters for a closure
2 --> $DIR/recover-quantified-closure.rs:2:5
4 LL | for<'a> |x: &'a u8| *x + 1;
5 | ^^^^^^^ ------------------ the parameters are attached to this closure
7 | help: remove the parameters
9 error: expected one of `move`, `static`, `|`, or `||`, found `::`
10 --> $DIR/recover-quantified-closure.rs:8:14
12 LL | for <Foo>::Bar in x {}
13 | ^^ expected one of `move`, `static`, `|`, or `||`
15 error: aborting due to 2 previous errors