fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
634 B14 linesraw
1error[E0119]: conflicting implementations of trait `MyTrait` for type `MyStruct<MyType>`
2  --> $DIR/coherence_copy_like_err_struct.rs:19:1
3   |
4LL | impl<T: lib::MyCopy> MyTrait for T { }
5   | ---------------------------------- first implementation here
6...
7LL | impl MyTrait for lib::MyStruct<MyType> { }
8   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `MyStruct<MyType>`
9   |
10   = note: upstream crates may add a new impl of trait `lib::MyCopy` for type `lib::MyStruct<MyType>` in future versions
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0119`.