rust/tests/ui/traits/reservation-impl/no-use.next.stderr
2023-08-26 19:25:46 +00:00

12 lines
357 B
Plaintext

error[E0277]: the trait bound `(): MyTrait` is not satisfied
--> $DIR/no-use.rs:11:6
|
LL | <() as MyTrait>::foo(&());
| ^^ the trait `MyTrait` is not implemented for `()`
|
= help: the trait `MyTrait` is implemented for `()`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.