Home
last modified time | relevance | path

Searched refs:cannot_move_out_of (Results 1 – 4 of 4) sorted by relevance

/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/diagnostics/
H A Dmove_errors.rs85 MoveError::IllegalMove { cannot_move_out_of: IllegalMoveOrigin { location, kind } } => { in append_to_grouped_errors()
287 self.cannot_move_out_of(span, &description) in report_cannot_move_from_static()
315 let mut err = self.cannot_move_out_of( in report_cannot_move_from_borrowed_content()
367 let mut diag = self.cannot_move_out_of(span, &place_description); in report_cannot_move_from_borrowed_content()
381 (Some(place_desc), Some(source_desc)) => self.cannot_move_out_of( in report_cannot_move_from_borrowed_content()
385 (_, _) => self.cannot_move_out_of( in report_cannot_move_from_borrowed_content()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_mir_dataflow/src/move_paths/
H A Dmod.rs373 IllegalMove { cannot_move_out_of: IllegalMoveOrigin<'tcx> },
378 fn cannot_move_out_of(location: Location, kind: IllegalMoveOriginKind<'tcx>) -> Self { in cannot_move_out_of() method
380 MoveError::IllegalMove { cannot_move_out_of: origin } in cannot_move_out_of()
H A Dbuilder.rs116 return Err(MoveError::cannot_move_out_of( in move_path_for()
127 return Err(MoveError::cannot_move_out_of( in move_path_for()
136 return Err(MoveError::cannot_move_out_of( in move_path_for()
147 return Err(MoveError::cannot_move_out_of( in move_path_for()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/
H A Dborrowck_errors.rs274 crate fn cannot_move_out_of( in cannot_move_out_of() method