Skip to content

Commit c75125f

Browse files
committed
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...
1 parent 251cbab commit c75125f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comp/middle/metadata.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ mod Encode {
228228
w.write_str(common::uistr(id));
229229
}
230230
case (ty::ty_type) {w.write_char('Y');}
231+
case (ty::ty_task) {w.write_char('a');}
231232

232233
// These two don't appear in crate metadata, but are here because
233234
// `hash_ty()` uses this function.

0 commit comments

Comments
 (0)