about summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow/src/move_paths/mod.rs
diff options
context:
space:
mode:
authorouz-a <oguz.agcayazi@gmail.com>2022-07-28 13:52:49 +0300
committerouz-a <oguz.agcayazi@gmail.com>2022-07-28 13:52:49 +0300
commitbd24b4006c98425aa994763acf7f7e18607c7df1 (patch)
treed525054b96c6b49c8d4da7359144335770b30035 /compiler/rustc_mir_dataflow/src/move_paths/mod.rs
parentbd52f58e3b4008c35f677eec5fe18676f686274b (diff)
downloadrust-bd24b4006c98425aa994763acf7f7e18607c7df1.tar.gz
rust-bd24b4006c98425aa994763acf7f7e18607c7df1.zip
type alias covers whole return
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/move_paths/mod.rs')
-rw-r--r--compiler/rustc_mir_dataflow/src/move_paths/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/move_paths/mod.rs b/compiler/rustc_mir_dataflow/src/move_paths/mod.rs
index aeb985143fd..a951c5b0b1c 100644
--- a/compiler/rustc_mir_dataflow/src/move_paths/mod.rs
+++ b/compiler/rustc_mir_dataflow/src/move_paths/mod.rs
@@ -387,7 +387,7 @@ impl<'tcx> MoveData<'tcx> {
         body: &Body<'tcx>,
         tcx: TyCtxt<'tcx>,
         param_env: ParamEnv<'tcx>,
-    ) -> Result<MoveDat<'tcx>, (MoveData<'tcx>, Vec<(Place<'tcx>, MoveError<'tcx>)>)> {
+    ) -> MoveDat<'tcx> {
         builder::gather_moves(body, tcx, param_env)
     }