1
Fork 0

make native functions markable as unsafe and incorporate that

into the type check
This commit is contained in:
Niko Matsakis 2011-10-11 14:52:38 -07:00 committed by Brian Anderson
parent 24b201fa48
commit 212707ce84
9 changed files with 30 additions and 16 deletions

View file

@ -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; }
}
}