Noticed that metadata::Encode::enc_sty didn't have a case for ty_task, so I added one (though this wasn't causing the problem I was seeing...
This commit is contained in:
parent
251cbaba63
commit
c75125fcce
1 changed files with 1 additions and 0 deletions
|
|
@ -228,6 +228,7 @@ mod Encode {
|
|||
w.write_str(common::uistr(id));
|
||||
}
|
||||
case (ty::ty_type) {w.write_char('Y');}
|
||||
case (ty::ty_task) {w.write_char('a');}
|
||||
|
||||
// These two don't appear in crate metadata, but are here because
|
||||
// `hash_ty()` uses this function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue