]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/coherence-with-closure.stderr
Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco
[rust.git] / tests / ui / coherence / coherence-with-closure.stderr
1 error[E0119]: conflicting implementations of trait `Trait` for type `Wrapper<OpaqueClosure>`
2   --> $DIR/coherence-with-closure.rs:11:1
3    |
4 LL | impl Trait for Wrapper<OpaqueClosure> {}
5    | ------------------------------------- first implementation here
6 LL | impl<T: Sync> Trait for Wrapper<T> {}
7    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Wrapper<OpaqueClosure>`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0119`.