2022-11-10 04:21:11 +00:00
|
|
|
error[E0751]: found both positive and negative implementation of trait `Clone` for type `&mut MyType<'_>`:
|
2020-01-08 06:39:38 -05:00
|
|
|
--> $DIR/pin-unsound-issue-66544-clone.rs:7:1
|
|
|
|
|
|
|
|
|
LL | impl<'a> Clone for &'a mut MyType<'a> {
|
2020-01-08 14:10:59 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ positive implementation here
|
2020-01-08 06:39:38 -05:00
|
|
|
|
|
2020-01-08 14:10:59 -05:00
|
|
|
= note: negative implementation in crate `core`
|
2020-01-08 06:39:38 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2020-04-22 20:18:22 +08:00
|
|
|
For more information about this error, try `rustc --explain E0751`.
|