blob: ebd733c2ef1f87b54d1c0d556d941c8e49f1808e [file] [log] [blame]
error[E0277]: the trait bound `(): AsRef<()>` is not satisfied
--> $DIR/cross-crate-bounds.rs:15:16
|
LL | type Bar = ();
| ^^ the trait `AsRef<()>` is not implemented for `()`
|
note: required by a bound in `foo_defn::Foo::Bar`
--> $DIR/auxiliary/foo_defn.rs:4:15
|
LL | type Bar: AsRef<()>;
| ^^^^^^^^^ required by this bound in `Foo::Bar`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.