mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Give native functions proto_bare
This commit is contained in:
parent
ebc61e39d7
commit
4ef2c37059
@ -2087,7 +2087,7 @@ fn check_expr_with_unifier(fcx: @fn_ctxt, expr: @ast::expr, unify: unifier,
|
||||
constrs = constrs_;
|
||||
}
|
||||
ty::ty_native_fn(_, arg_tys_, rt_) {
|
||||
proto = ast::proto_shared(ast::sugar_normal);
|
||||
proto = ast::proto_bare;
|
||||
arg_tys = arg_tys_;
|
||||
rt = rt_;
|
||||
cf = ast::return_val;
|
||||
|
Loading…
Reference in New Issue
Block a user