]> git.lizzy.rs Git - rust.git/blob - tests/ui/marker_trait_attr/unsound-overlap.stderr
Rollup merge of #106321 - compiler-errors:delayed-bug-backtrace, r=Nilstrieb
[rust.git] / tests / ui / marker_trait_attr / unsound-overlap.stderr
1 error[E0119]: conflicting implementations of trait `TraitWithAssoc` for type `((&str,),)`
2   --> $DIR/unsound-overlap.rs:20:1
3    |
4 LL | impl<T: A> TraitWithAssoc for T {
5    | ------------------------------- first implementation here
6 ...
7 LL | impl TraitWithAssoc for ((&str,),) {
8    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `((&str,),)`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0119`.