pub struct BorrowAfterMoveFixGenerator;
Expand description
Generates fixes for borrowing after move errors - NOW HYBRID AUTOMATED!
Implementations§
Trait Implementations§
Source§impl FixGenerator for BorrowAfterMoveFixGenerator
impl FixGenerator for BorrowAfterMoveFixGenerator
Source§fn generate_fix(
&self,
_error: &DecrustError,
params: &ExtractedParameters,
source_code_context: Option<&str>,
) -> Option<Autocorrection>
fn generate_fix( &self, _error: &DecrustError, params: &ExtractedParameters, source_code_context: Option<&str>, ) -> Option<Autocorrection>
Generates a fix for an error using extracted parameters
Auto Trait Implementations§
impl Freeze for BorrowAfterMoveFixGenerator
impl RefUnwindSafe for BorrowAfterMoveFixGenerator
impl Send for BorrowAfterMoveFixGenerator
impl Sync for BorrowAfterMoveFixGenerator
impl Unpin for BorrowAfterMoveFixGenerator
impl UnwindSafe for BorrowAfterMoveFixGenerator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more