Skip to content

Commit 97c1537

Browse files
committed
Limit exports from typeck::writeback
1 parent e30d2c8 commit 97c1537

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/comp/middle/typeck.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,6 +1021,9 @@ fn variant_arg_types(&@crate_ctxt ccx, &span sp, &ast::def_id vid,
10211021
// TODO: inefficient since not all types have vars in them. It would be better
10221022
// to maintain a list of fixups.
10231023
mod writeback {
1024+
1025+
export resolve_type_vars_in_block;
1026+
10241027
fn resolve_type_vars_in_type(&@fn_ctxt fcx, &span sp, ty::t typ) ->
10251028
ty::t {
10261029
if (!ty::type_contains_vars(fcx.ccx.tcx, typ)) { ret typ; }

0 commit comments

Comments
 (0)