optionally enforce local variable mutability
This commit is contained in:
parent
99f231f347
commit
2dd5b3ace6
20 changed files with 112 additions and 73 deletions
|
|
@ -360,7 +360,7 @@ impl of tr for ast::def {
|
|||
ast::def_native_mod(did) { ast::def_native_mod(did.tr(xcx)) }
|
||||
ast::def_const(did) { ast::def_const(did.tr(xcx)) }
|
||||
ast::def_arg(nid, m) { ast::def_arg(xcx.tr_id(nid), m) }
|
||||
ast::def_local(nid) { ast::def_local(xcx.tr_id(nid)) }
|
||||
ast::def_local(nid, b) { ast::def_local(xcx.tr_id(nid), b) }
|
||||
ast::def_variant(e_did, v_did) {
|
||||
ast::def_variant(e_did.tr(xcx), v_did.tr(xcx))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue