about summary refs log tree commit diff
path: root/tests/ui/typeck/issue-74086.stderr
blob: 02c482019186cabfca780cd2f0093ba53eba17ef (plain)
1
2
3
4
5
6
7
8
9
error[E0121]: the placeholder `_` is not allowed within types on item signatures for statics
  --> $DIR/issue-74086.rs:2:20
   |
LL |     static BUG: fn(_) -> u8 = |_| 8;
   |                    ^ not allowed in type signatures

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0121`.