1 error[E0282]: type annotations needed
2 --> $DIR/hidden-type-is-opaque-2.rs:8:17
4 LL | Thunk::new(|mut cont| {
5 | ^^^^^^^^ consider giving this closure parameter a type
7 = note: type must be known at this point
9 error[E0282]: type annotations needed
10 --> $DIR/hidden-type-is-opaque-2.rs:17:17
12 LL | Thunk::new(|mut cont| {
13 | ^^^^^^^^ consider giving this closure parameter a type
15 = note: type must be known at this point
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0282`.