1 error[E0308]: mismatched types
2 --> $DIR/resume-arg-late-bound.rs:15:5
5 | ^^^^^^^^^ one type is more general than the other
7 = note: expected trait `for<'a> Generator<&'a mut bool>`
8 found trait `Generator<&mut bool>`
9 note: the lifetime requirement is introduced here
10 --> $DIR/resume-arg-late-bound.rs:8:17
12 LL | fn test(a: impl for<'a> Generator<&'a mut bool>) {}
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0308`.