error[E0277]: the trait bound `Const: CanSplitInto` is not satisfied --> $DIR/autobad-split-const-mut-mut.rs:16:43 | 16 | &mut partial!(X mut a)) = i.into(); | ^^^^ the trait `CanSplitInto` is not implemented for `Const` | = help: the following other types implement trait `CanSplitInto`: > > > > note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` --> $DIR/autobad-split-const-mut-mut.rs:9:10 | 9 | #[derive(PartialBorrow,Default)] | ^^^^^^^^^^^^^ = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` = note: this error originates in the derive macro `PartialBorrow` (in Nightly builds, run with -Z macro-backtrace for more info)