convert TODOs to FIXMEs

This commit is contained in:
Niko Matsakis 2015-09-01 16:55:40 -04:00
parent 013c37a692
commit 99f3bfc20c
2 changed files with 4 additions and 2 deletions

View file

@ -87,7 +87,9 @@ impl Category {
ExprKind::Break { .. } |
ExprKind::Continue { .. } |
ExprKind::Return { .. } =>
Some(Category::Rvalue(RvalueFunc::Into)), // TODO
// FIXME(#27840) these probably want their own
// category, like "nonterminating"
Some(Category::Rvalue(RvalueFunc::Into)),
}
}
}

View file

@ -106,7 +106,7 @@ impl<'a,'tcx:'a> Hair for Cx<'a, 'tcx> {
fn needs_drop(&mut self, ty: Ty<'tcx>, span: Self::Span) -> bool {
if self.infcx.type_moves_by_default(ty, span) {
// TODO we should do an add'l check here to determine if
// FIXME(#21859) we should do an add'l check here to determine if
// any dtor will execute, but the relevant fn
// (`type_needs_drop`) is currently factored into
// `librustc_trans`, so we can't easily do so.