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:
parent
a12a3db5b4
commit
f30f54e9d0
41 changed files with 556 additions and 1082 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue