error[E0277]: the trait bound `Mut: IsDowngradeFrom` is not satisfied --> $DIR/autobad-dg-no-mut.rs:15:37 | 15 | let e: &mut partial!(X mut a) = d.as_mut(); | ^^^^^^ the trait `IsDowngradeFrom` is not implemented for `Mut` | = help: the trait `IsDowngradeFrom` is implemented for `Mut` note: required because of the requirements on the impl of `AsMut>` for `X__Partial` --> $DIR/autobad-dg-no-mut.rs:9:10 | 9 | #[derive(PartialBorrow,Default)] | ^^^^^^^^^^^^^ = note: this error originates in the derive macro `PartialBorrow` (in Nightly builds, run with -Z macro-backtrace for more info)