From a583aa642e68ffc2735a86418ac4e0758c381791 Mon Sep 17 00:00:00 2001 From: ashtneoi Date: Mon, 13 Aug 2018 16:06:08 -0700 Subject: [PATCH] Remove unnecessary comment Turns out I didn't read the original comment correctly and had some confusion about how MIR uses temporaries. --- src/librustc_mir/borrow_check/move_errors.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/librustc_mir/borrow_check/move_errors.rs b/src/librustc_mir/borrow_check/move_errors.rs index 44459b977242..2dcdf1d9e456 100644 --- a/src/librustc_mir/borrow_check/move_errors.rs +++ b/src/librustc_mir/borrow_check/move_errors.rs @@ -55,8 +55,6 @@ enum GroupedMoveError<'tcx> { binds_to: Vec, }, // Everything that isn't from pattern matching. - // FIXME(ashtneoi): I think this is only for moves into temporaries, as - // when returning a value. Clarification needed. OtherIllegalMove { original_path: Place<'tcx>, span: Span,