rustc: Write impl attributes into the metadata
This commit is contained in:
parent
22ef08293e
commit
0737f1b53d
1 changed files with 1 additions and 0 deletions
|
@ -726,6 +726,7 @@ fn encode_info_for_item(ecx: @encode_ctxt, ebml_w: ebml::writer, item: @item,
|
|||
encode_type_param_bounds(ebml_w, ecx, tps);
|
||||
encode_type(ecx, ebml_w, node_id_to_type(tcx, item.id));
|
||||
encode_name(ebml_w, item.ident);
|
||||
encode_attributes(ebml_w, item.attrs);
|
||||
for methods.each |m| {
|
||||
ebml_w.start_tag(tag_item_impl_method);
|
||||
ebml_w.writer.write(str::bytes(def_to_str(local_def(m.id))));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue