1
Fork 0

Bless mut tests

This commit is contained in:
Dylan MacKenzie 2020-09-29 14:58:00 -07:00
parent b518ccb4c3
commit a23297f5c0
16 changed files with 173 additions and 107 deletions

View file

@ -515,8 +515,6 @@ pub mod ty {
#[derive(Debug)]
pub struct MutRef;
impl NonConstOp for MutRef {
const STOPS_CONST_CHECKING: bool = true;
fn status_in_item(&self, _ccx: &ConstCx<'_, '_>) -> Status {
Status::Unstable(sym::const_mut_refs)
}