]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/hidden-type-is-opaque-2.stderr
Rollup merge of #95504 - jyn514:library-alias, r=Mark-Simulacrum
[rust.git] / src / test / ui / impl-trait / hidden-type-is-opaque-2.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/hidden-type-is-opaque-2.rs:8:17
3    |
4 LL |     Thunk::new(|mut cont| {
5    |                 ^^^^^^^^ consider giving this closure parameter a type
6    |
7    = note: type must be known at this point
8
9 error[E0282]: type annotations needed
10   --> $DIR/hidden-type-is-opaque-2.rs:17:17
11    |
12 LL |     Thunk::new(|mut cont| {
13    |                 ^^^^^^^^ consider giving this closure parameter a type
14    |
15    = note: type must be known at this point
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0282`.