]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/auto-trait.stderr
Be more careful about unresolved exprs in suggestion
[rust.git] / src / test / ui / impl-trait / auto-trait.stderr
1 error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<OpaqueType>`
2   --> $DIR/auto-trait.rs:21:1
3    |
4 LL | impl<T: Send> AnotherTrait for T {}
5    | -------------------------------- first implementation here
6 ...
7 LL | impl AnotherTrait for D<OpaqueType> {
8    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<OpaqueType>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0119`.