]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/negative-impls/pin-unsound-issue-66544-clone.stderr
Auto merge of #84959 - camsteffen:lint-suggest-group, r=estebank
[rust.git] / src / test / ui / traits / negative-impls / pin-unsound-issue-66544-clone.stderr
1 error[E0751]: found both positive and negative implementation of trait `std::clone::Clone` for type `&mut MyType<'_>`:
2   --> $DIR/pin-unsound-issue-66544-clone.rs:7:1
3    |
4 LL | impl<'a> Clone for &'a mut MyType<'a> {
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ positive implementation here
6    |
7    = note: negative implementation in crate `core`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0751`.