Skip to content

Commit 6c23e09

Browse files
committed
Limit exports from metadata::tyencode
1 parent 5601a6f commit 6c23e09

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/comp/metadata/tyencode.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ import middle::ty;
1010
import pretty::ppaux::lit_to_str;
1111
import util::common;
1212

13+
export ctxt;
14+
export ty_abbrev;
15+
export ac_no_abbrevs;
16+
export ac_use_abbrevs;
17+
export enc_ty;
18+
export ty_str;
19+
1320
type ctxt =
1421
rec(fn(&def_id) -> str ds, // Def -> str Callback:
1522
ty::ctxt tcx, // The type context.

0 commit comments

Comments
 (0)