1
Fork 0

librustc: Remove the concept of modes from the compiler.

This commit does not remove `ty::arg`, although that should be
possible to do now.
This commit is contained in:
Patrick Walton 2013-04-24 01:29:46 -07:00
parent a12a3db5b4
commit f30f54e9d0
41 changed files with 556 additions and 1082 deletions

View file

@ -419,7 +419,6 @@ pub fn mk_arg(cx: @ext_ctxt,
-> ast::arg {
let arg_pat = mk_pat_ident(cx, span, ident);
ast::arg {
mode: ast::infer(cx.next_id()),
is_mutbl: false,
ty: ty,
pat: arg_pat,