rust/tests/ui/traits/negative-impls/pin-unsound-issue-66544-derefmut.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
442 B
Plaintext
Raw Normal View History

error[E0751]: found both positive and negative implementation of trait `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
2020-04-22 07:18:22 -05:00
For more information about this error, try `rustc --explain E0751`.