mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
16 lines
542 B
Plaintext
16 lines
542 B
Plaintext
error[E0277]: the trait bound `Rc<{integer}>: DerefMut` is not satisfied
|
|
--> $DIR/ref-mut.rs:16:9
|
|
|
|
|
LL | deref!(x) => {}
|
|
| ^^^^^^^^^ the trait `DerefMut` is not implemented for `Rc<{integer}>`
|
|
|
|
error[E0277]: the trait bound `Rc<({integer},)>: DerefMut` is not satisfied
|
|
--> $DIR/ref-mut.rs:21:9
|
|
|
|
|
LL | (x,) => {}
|
|
| ^^^^ the trait `DerefMut` is not implemented for `Rc<({integer},)>`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|