mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
12 lines
359 B
Plaintext
12 lines
359 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 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|