]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-74086.stderr
Rollup merge of #106788 - estebank:elaborate_pred_E0599, r=compiler-errors
[rust.git] / tests / ui / typeck / issue-74086.stderr
1 error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions
2   --> $DIR/issue-74086.rs:2:20
3    |
4 LL |     static BUG: fn(_) -> u8 = |_| 8;
5    |                    ^ not allowed in type signatures
6
7 error[E0121]: the placeholder `_` is not allowed within types on item signatures for static items
8   --> $DIR/issue-74086.rs:2:20
9    |
10 LL |     static BUG: fn(_) -> u8 = |_| 8;
11    |                    ^ not allowed in type signatures
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0121`.