2022-09-09 14:42:25 -05:00
|
|
|
error[E0277]: the trait bound `*mut (): Trait<'_>` is not satisfied
|
|
|
|
--> $DIR/issue-101623.rs:21:21
|
|
|
|
|
|
|
|
|
LL | Trait::do_stuff({ fun(&mut *inner) });
|
|
|
|
| --------------- ^^----------------^^
|
|
|
|
| | |
|
|
|
|
| | the trait `Trait<'_>` is not implemented for `*mut ()`
|
|
|
|
| required by a bound introduced by this call
|
|
|
|
|
|
2023-09-09 22:21:52 -05:00
|
|
|
= help: the trait `Trait<'_>` is implemented for `()`
|
2023-09-09 22:33:07 -05:00
|
|
|
= help: for that trait implementation, expected `()`, found `*mut ()`
|
2022-09-09 14:42:25 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|