fork/rust

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

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

master
441 B11 linesraw
1error[E0751]: found both positive and negative implementation of trait `Clone` for type `&mut MyType<'_>`:
2  --> $DIR/pin-unsound-issue-66544-clone.rs:7:1
3   |
4LL | impl<'a> Clone for &'a mut MyType<'a> {
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ positive implementation here
6   |
7   = note: negative implementation in crate `core`
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0751`.