diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-09-01 16:55:40 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-09-06 07:27:23 -0400 |
| commit | 99f3bfc20c737a2d602cf396829d78c797c0fe0d (patch) | |
| tree | 53a87c6431006b2dc879b6831758e0bb84c66871 /src | |
| parent | 013c37a69247014702e7c3221dd4e890314d0a58 (diff) | |
| download | rust-99f3bfc20c737a2d602cf396829d78c797c0fe0d.tar.gz rust-99f3bfc20c737a2d602cf396829d78c797c0fe0d.zip | |
convert TODOs to FIXMEs
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_mir/build/expr/category.rs | 4 | ||||
| -rw-r--r-- | src/librustc_mir/tcx/mod.rs | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/librustc_mir/build/expr/category.rs b/src/librustc_mir/build/expr/category.rs index 8bfd0a1c7d2..1f9928acdc8 100644 --- a/src/librustc_mir/build/expr/category.rs +++ b/src/librustc_mir/build/expr/category.rs @@ -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)), } } } diff --git a/src/librustc_mir/tcx/mod.rs b/src/librustc_mir/tcx/mod.rs index 35cfc772998..2e9eae0956d 100644 --- a/src/librustc_mir/tcx/mod.rs +++ b/src/librustc_mir/tcx/mod.rs @@ -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. |
