1 error[E0631]: type mismatch in function arguments
2 --> $DIR/resume-arg-late-bound.rs:15:10
4 LL | fn test(a: impl for<'a> Generator<&'a mut bool>) {}
5 | ------------------------------- required by this bound in `test`
10 | expected signature of `for<'a> fn(&'a mut bool) -> _`
11 | found signature of `fn(&mut bool) -> _`
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0631`.