]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/issue-65384.stderr
Rollup merge of #105795 - nicholasbishop:bishop-stabilize-efiapi, r=joshtriplett
[rust.git] / tests / ui / type-alias-impl-trait / issue-65384.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait` for type `()`
2   --> $DIR/issue-65384.rs:10:1
3    |
4 LL | impl MyTrait for () {}
5    | ------------------- first implementation here
6 ...
7 LL | impl MyTrait for Bar {}
8    | ^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0119`.