Incorporate fix from japaric for cross-crate ICE
This commit is contained in:
parent
4f05ec7d2c
commit
23eec0c955
1 changed files with 1 additions and 0 deletions
|
@ -1402,6 +1402,7 @@ fn encode_info_for_item(ecx: &EncodeContext,
|
|||
}
|
||||
ty::TypeTraitItem(associated_type) => {
|
||||
encode_name(rbml_w, associated_type.name);
|
||||
encode_def_id(rbml_w, associated_type.def_id);
|
||||
|
||||
let elem = ast_map::PathName(associated_type.name);
|
||||
encode_path(rbml_w,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue