]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence_copy_like_err_fundamental_struct_tuple.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / coherence / coherence_copy_like_err_fundamental_struct_tuple.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait` for type `lib::MyFundamentalStruct<(MyType,)>`:
2   --> $DIR/coherence_copy_like_err_fundamental_struct_tuple.rs:27:1
3    |
4 LL | impl<T: lib::MyCopy> MyTrait for T { }
5    | ---------------------------------- first implementation here
6 ...
7 LL | impl MyTrait for lib::MyFundamentalStruct<(MyType,)> { } //~ ERROR E0119
8    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `lib::MyFundamentalStruct<(MyType,)>`
9    |
10    = note: upstream crates may add new impl of trait `lib::MyCopy` for type `lib::MyFundamentalStruct<(MyType,)>` in future versions
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0119`.