1
Fork 0

Add is_mutbl field to arg

This commit is contained in:
Seo Sanghyeon 2013-01-04 01:45:07 +09:00 committed by Tim Chevalier
parent dfa97c21a5
commit 9a5d617092
7 changed files with 13 additions and 2 deletions

View file

@ -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,