mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
12 lines
441 B
Plaintext
12 lines
441 B
Plaintext
error[E0751]: found both positive and negative implementation of trait `Clone` for type `&mut MyType<'_>`:
|
|
--> $DIR/pin-unsound-issue-66544-clone.rs:7:1
|
|
|
|
|
LL | impl<'a> Clone for &'a mut MyType<'a> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ positive implementation here
|
|
|
|
|
= note: negative implementation in crate `core`
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0751`.
|