Add is_mutbl field to arg
This commit is contained in:
committed by
Tim Chevalier
parent
dfa97c21a5
commit
9a5d617092
@@ -595,6 +595,7 @@ fn mk_ser_method(
|
||||
|
||||
let ser_inputs = ~[ast::arg {
|
||||
mode: ast::infer(cx.next_id()),
|
||||
is_mutbl: false,
|
||||
ty: ty_s,
|
||||
pat: @ast::pat {
|
||||
id: cx.next_id(),
|
||||
@@ -658,6 +659,7 @@ fn mk_deser_method(
|
||||
|
||||
let deser_inputs = ~[ast::arg {
|
||||
mode: ast::infer(cx.next_id()),
|
||||
is_mutbl: false,
|
||||
ty: ty_d,
|
||||
pat: @ast::pat {
|
||||
id: cx.next_id(),
|
||||
@@ -1194,6 +1196,7 @@ fn mk_enum_deser_body(
|
||||
ast::fn_decl {
|
||||
inputs: ~[ast::arg {
|
||||
mode: ast::infer(cx.next_id()),
|
||||
is_mutbl: false,
|
||||
ty: @ast::Ty {
|
||||
id: cx.next_id(),
|
||||
node: ast::ty_infer,
|
||||
|
||||
Reference in New Issue
Block a user