]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/cross-crate-bounds.stderr
Rollup merge of #82308 - estebank:issue-82290, r=lcnr
[rust.git] / src / test / ui / generic-associated-types / cross-crate-bounds.stderr
1 error[E0277]: the trait bound `(): AsRef<()>` is not satisfied
2   --> $DIR/cross-crate-bounds.rs:15:5
3    |
4 LL |     type Bar = ();
5    |     ^^^^^^^^^^^^^^ the trait `AsRef<()>` is not implemented for `()`
6    | 
7   ::: $DIR/auxiliary/foo_defn.rs:6:15
8    |
9 LL |     type Bar: AsRef<()>;
10    |               --------- required by this bound in `foo_defn::Foo::Bar`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.