]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/issue-65384.stderr
Rollup merge of #106716 - c410-f3r:rfc-2397-1, r=davidtwco
[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`.