Skip to content

Commit 0737f1b

Browse files
committed
rustc: Write impl attributes into the metadata
1 parent 22ef082 commit 0737f1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/rustc/metadata/encoder.rs

+1
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,7 @@ fn encode_info_for_item(ecx: @encode_ctxt, ebml_w: ebml::writer, item: @item,
726726
encode_type_param_bounds(ebml_w, ecx, tps);
727727
encode_type(ecx, ebml_w, node_id_to_type(tcx, item.id));
728728
encode_name(ebml_w, item.ident);
729+
encode_attributes(ebml_w, item.attrs);
729730
for methods.each |m| {
730731
ebml_w.start_tag(tag_item_impl_method);
731732
ebml_w.writer.write(str::bytes(def_to_str(local_def(m.id))));

0 commit comments

Comments
 (0)