summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/negative-impls/pin-unsound-issue-66544-derefmut.stderr
blob: a0b62a8bab68f32b4c236bcf9155fd8569a45bf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0751]: found both positive and negative implementation of trait `std::ops::DerefMut` for type `&MyType<'_>`:
  --> $DIR/pin-unsound-issue-66544-derefmut.rs:12:1
   |
LL | impl<'a> DerefMut for &'a 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`.