rustc: Assign ty_bot to nodes in write::bot_ty. Remove FIXME
This commit is contained in:
parent
779dd809d2
commit
418b4c4567
1 changed files with 1 additions and 2 deletions
|
|
@ -427,8 +427,7 @@ mod write {
|
|||
|
||||
// Writes the bottom type into the node type table.
|
||||
fn bot_ty(&ty::ctxt tcx, uint node_id) {
|
||||
// FIXME: Should be mk_bot(), but this breaks lots of stuff.
|
||||
be ty(tcx, node_id, tup(none[vec[ty::t]], ty::mk_nil(tcx)));
|
||||
be ty(tcx, node_id, tup(none[vec[ty::t]], ty::mk_bot(tcx)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue