We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d7d759 + 3c4ce79 commit 26fb16eCopy full SHA for 26fb16e
src/librustc/middle/ty.rs
@@ -907,7 +907,7 @@ type type_cache = @mut HashMap<ast::def_id, ty_param_bounds_and_ty>;
907
908
type constness_cache = @mut HashMap<ast::def_id, const_eval::constness>;
909
910
-pub type node_type_table = @mut SmallIntMap<t>;
+pub type node_type_table = @mut HashMap<uint,t>;
911
912
fn mk_rcache() -> creader_cache {
913
return @mut HashMap::new();
@@ -934,7 +934,7 @@ pub fn mk_ctxt(s: session::Session,
934
def_map: dm,
935
region_maps: region_maps,
936
region_paramd_items: region_paramd_items,
937
- node_types: @mut SmallIntMap::new(),
+ node_types: @mut HashMap::new(),
938
node_type_substs: @mut HashMap::new(),
939
trait_refs: @mut HashMap::new(),
940
trait_defs: @mut HashMap::new(),
0 commit comments