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 d6d7812 commit 965387aCopy full SHA for 965387a
src/librustc/metadata/encoder.rs
@@ -766,6 +766,8 @@ fn encode_info_for_struct_ctor(ecx: &EncodeContext,
766
ebml_w.start_tag(tag_items_data_item);
767
encode_def_id(ebml_w, local_def(ctor_id));
768
encode_family(ebml_w, 'f');
769
+ encode_bounds_and_type(ebml_w, ecx,
770
+ &lookup_item_type(ecx.tcx, local_def(ctor_id)));
771
encode_name(ecx, ebml_w, name);
772
encode_type(ecx, ebml_w, node_id_to_type(ecx.tcx, ctor_id));
773
encode_path(ecx, ebml_w, path, ast_map::PathName(name));
0 commit comments