mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-09 14:25:24 +00:00
repr: update for removal of const
This commit is contained in:
parent
ec7cd77bd0
commit
db4720bdfa
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user