]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_mir_dataflow/src/move_paths/mod.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / compiler / rustc_mir_dataflow / src / move_paths / mod.rs
index 1af789b4885e61c276d9f60106952dfb570b7c40..a951c5b0b1c94a5258ccf1cb03cb4bb15b6fd7a3 100644 (file)
@@ -1,3 +1,4 @@
+use crate::move_paths::builder::MoveDat;
 use rustc_data_structures::fx::FxHashMap;
 use rustc_index::vec::IndexVec;
 use rustc_middle::mir::*;
@@ -386,7 +387,7 @@ impl<'tcx> MoveData<'tcx> {
         body: &Body<'tcx>,
         tcx: TyCtxt<'tcx>,
         param_env: ParamEnv<'tcx>,
-    ) -> Result<Self, (Self, Vec<(Place<'tcx>, MoveError<'tcx>)>)> {
+    ) -> MoveDat<'tcx> {
         builder::gather_moves(body, tcx, param_env)
     }