summary refs log tree commit diff
path: root/src/test/ui/issue-22034.stderr
blob: bac62a1301aadd48183cd2a47b5f03c6fff75dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0277]: the trait bound `(): std::ops::Fn<()>` is not satisfied
  --> $DIR/issue-22034.rs:18:16
   |
LL |         &mut *(ptr as *mut Fn())
   |                ^^^ the trait `std::ops::Fn<()>` is not implemented for `()`
   |
   = note: required for the cast to the object type `dyn std::ops::Fn()`

error: aborting due to previous error

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