error[E0277]: the trait bound `Const: IsDowngradeFrom` is not satisfied --> $DIR/autobad-dg-no-const.rs:15:39 | 15 | let e: &mut partial!(X const a) = d.as_mut(); | ^^^^^^ the trait `IsDowngradeFrom` is not implemented for `Const` | = help: the following other types implement trait `IsDowngradeFrom

`: > > note: required because of the requirements on the impl of `AsMut>` for `X__Partial` --> $DIR/autobad-dg-no-const.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)