make native functions markable as unsafe and incorporate that
into the type check
This commit is contained in:
parent
24b201fa48
commit
212707ce84
9 changed files with 30 additions and 16 deletions
|
@ -37,7 +37,7 @@ fn def_id_of_def(d: def) -> def_id {
|
|||
def_binding(id) { ret id; }
|
||||
def_use(id) { ret id; }
|
||||
def_native_ty(id) { ret id; }
|
||||
def_native_fn(id) { ret id; }
|
||||
def_native_fn(id, _) { ret id; }
|
||||
def_upvar(id, _, _) { ret id; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue