]> git.proxmox.com Git - rustc.git/blame - src/test/ui/coherence/coherence_copy_like_err_struct.re.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / coherence / coherence_copy_like_err_struct.re.stderr
CommitLineData
b7449926 1error[E0119]: conflicting implementations of trait `MyTrait` for type `lib::MyStruct<MyType>`:
0731742a 2 --> $DIR/coherence_copy_like_err_struct.rs:22:1
b7449926
XL
3 |
4LL | impl<T: lib::MyCopy> MyTrait for T { }
5 | ---------------------------------- first implementation here
6...
0731742a 7LL | impl MyTrait for lib::MyStruct<MyType> { }
b7449926
XL
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `lib::MyStruct<MyType>`
9 |
e1599b0c 10 = note: upstream crates may add a new impl of trait `lib::MyCopy` for type `lib::MyStruct<MyType>` in future versions
b7449926
XL
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0119`.