Add is_mutbl field to def_arg
This commit is contained in:
committed by
Tim Chevalier
parent
4dd29dee57
commit
d10b5c725b
@@ -86,7 +86,7 @@ pure fn def_id_of_def(d: def) -> def_id {
|
||||
def_use(id) | def_struct(id) => {
|
||||
id
|
||||
}
|
||||
def_arg(id, _) | def_local(id, _) | def_self(id, _) | def_self_ty(id)
|
||||
def_arg(id, _, _) | def_local(id, _) | def_self(id, _) | def_self_ty(id)
|
||||
| def_upvar(id, _, _, _) | def_binding(id, _) | def_region(id)
|
||||
| def_typaram_binder(id) | def_label(id) => {
|
||||
local_def(id)
|
||||
|
||||
Reference in New Issue
Block a user