Skip to content

Commit 4ef2c37

Browse files
committed
Give native functions proto_bare
1 parent ebc61e3 commit 4ef2c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/middle/typeck.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,7 @@ fn check_expr_with_unifier(fcx: @fn_ctxt, expr: @ast::expr, unify: unifier,
20872087
constrs = constrs_;
20882088
}
20892089
ty::ty_native_fn(_, arg_tys_, rt_) {
2090-
proto = ast::proto_shared(ast::sugar_normal);
2090+
proto = ast::proto_bare;
20912091
arg_tys = arg_tys_;
20922092
rt = rt_;
20932093
cf = ast::return_val;

0 commit comments

Comments
 (0)