mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
14 lines
443 B
Plaintext
14 lines
443 B
Plaintext
error[E0277]: the trait bound `(): MyTrait` is not satisfied
|
|
--> $DIR/no-use.rs:10:26
|
|
|
|
|
LL | <() as MyTrait>::foo(&());
|
|
| -------------------- ^^^ the trait `MyTrait` is not implemented for `()`
|
|
| |
|
|
| required by a bound introduced by this call
|
|
|
|
|
= help: the trait `MyTrait` is implemented for `()`
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|