]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-74086.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-74086.stderr
CommitLineData
72b1a166
FG
1error[E0121]: the type placeholder `_` is not allowed within types on item signatures
2 --> $DIR/issue-74086.rs:2:20
3 |
4LL | static BUG: fn(_) -> u8 = |_| 8;
5 | ^
6 | |
7 | not allowed in type signatures
8 | help: use type parameters instead: `T`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0121`.