mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
14 lines
470 B
Plaintext
14 lines
470 B
Plaintext
error[E0119]: conflicting implementations of trait `Clone` for type `&mut MyType`
|
|
--> $DIR/coherence-conflicting-repeated-negative-trait-impl-70849.rs:8:1
|
|
|
|
|
LL | impl !Clone for &mut MyType {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: conflicting implementation in crate `core`:
|
|
- impl<T> !Clone for &mut T
|
|
where T: ?Sized;
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|