Skip to content

Commit 23eec0c

Browse files
committed
Incorporate fix from japaric for cross-crate ICE
1 parent 4f05ec7 commit 23eec0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc/metadata/encoder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,6 +1402,7 @@ fn encode_info_for_item(ecx: &EncodeContext,
14021402
}
14031403
ty::TypeTraitItem(associated_type) => {
14041404
encode_name(rbml_w, associated_type.name);
1405+
encode_def_id(rbml_w, associated_type.def_id);
14051406

14061407
let elem = ast_map::PathName(associated_type.name);
14071408
encode_path(rbml_w,

0 commit comments

Comments
 (0)