1 error[E0282]: type annotations needed
2 --> $DIR/hidden-type-is-opaque-2.rs:6: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: aborting due to previous error
11 For more information about this error, try `rustc --explain E0282`.