fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
603 B15 linesraw
1error[E0277]: the trait bound `*mut (): Trait<'_>` is not satisfied
2  --> $DIR/issue-101623.rs:21:21
3   |
4LL |     Trait::do_stuff({ fun(&mut *inner) });
5   |     --------------- ^^----------------^^
6   |     |               |
7   |     |               the trait `Trait<'_>` is not implemented for `*mut ()`
8   |     required by a bound introduced by this call
9   |
10   = help: the trait `Trait<'_>` is implemented for `()`
11   = help: for that trait implementation, expected `()`, found `*mut ()`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0277`.