2023-03-14 13:43:37 -05:00
|
|
|
error[E0277]: the trait bound `(): Project` is not satisfied
|
|
|
|
--> $DIR/bad-projection.rs:14:17
|
|
|
|
|
|
|
|
|
LL | pub fn uwu() -> <() as Project>::Assoc {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `Project` is not implemented for `()`
|
2023-09-09 22:33:07 -05:00
|
|
|
|
|
|
|
|
help: this trait has no implementations, consider adding one
|
|
|
|
--> $DIR/bad-projection.rs:9:1
|
|
|
|
|
|
|
|
|
LL | trait Project {
|
|
|
|
| ^^^^^^^^^^^^^
|
2023-03-14 13:43:37 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|