librustc: Remove mutable fields from the language.
They're still parsed though, to get through bootstrapping.
This commit is contained in:
parent
c7522417d4
commit
db4573a776
19 changed files with 69 additions and 177 deletions
|
@ -410,10 +410,8 @@ impl gen_init for protocol {
|
|||
|
||||
@spanned {
|
||||
node: ast::struct_field_ {
|
||||
kind: ast::named_field(
|
||||
cx.ident_of(s.name),
|
||||
ast::struct_immutable,
|
||||
ast::inherited),
|
||||
kind: ast::named_field(cx.ident_of(s.name),
|
||||
ast::inherited),
|
||||
id: cx.next_id(),
|
||||
ty: fty,
|
||||
attrs: ~[],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue