blob: cefb2a8792f17f14a9a9915a293b66a8f591b0b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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`.
|