We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45e531d commit 697864aCopy full SHA for 697864a
src/librustc/metadata/encoder.rs
@@ -900,6 +900,9 @@ fn encode_info_for_associated_type(ecx: &EncodeContext,
900
encode_parent_item(rbml_w, local_def(parent_id));
901
encode_item_sort(rbml_w, 't');
902
903
+ let type_scheme = ty::lookup_item_type(ecx.tcx, associated_type.def_id);
904
+ encode_bounds_and_type(rbml_w, ecx, &type_scheme);
905
+
906
let stab = stability::lookup(ecx.tcx, associated_type.def_id);
907
encode_stability(rbml_w, stab);
908
0 commit comments