]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-101623.stderr
Tweak use of trimmed paths
[rust.git] / tests / ui / suggestions / issue-101623.stderr
1 error[E0277]: the trait bound `*mut (): Trait<'_>` is not satisfied
2   --> $DIR/issue-101623.rs:21:21
3    |
4 LL |     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<'a>` is implemented for `()`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.