Handle const-checks for &mut outside of HasMutInterior
#66654
Merged
&mut outside of HasMutInterior
#66654