repr: update for removal of const

This commit is contained in:
Daniel Micay 2013-09-08 23:16:49 -04:00
parent ec7cd77bd0
commit db4720bdfa

View File

@ -189,8 +189,7 @@ impl<'self> ReprVisitor<'self> {
} else if mtbl == 1 {
// skip, this is ast::m_imm
} else {
assert_eq!(mtbl, 2);
self.writer.write("const ".as_bytes());
fail!("invalid mutability value");
}
}