pub struct MissingReturnFixGenerator;Expand description
Generates fixes for missing return value errors
Implementations§
Source§impl MissingReturnFixGenerator
impl MissingReturnFixGenerator
Sourcepub fn new() -> MissingReturnFixGenerator
pub fn new() -> MissingReturnFixGenerator
Creates a new MissingReturnFixGenerator
Trait Implementations§
Source§impl FixGenerator for MissingReturnFixGenerator
impl FixGenerator for MissingReturnFixGenerator
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 MissingReturnFixGenerator
impl RefUnwindSafe for MissingReturnFixGenerator
impl Send for MissingReturnFixGenerator
impl Sync for MissingReturnFixGenerator
impl Unpin for MissingReturnFixGenerator
impl UnwindSafe for MissingReturnFixGenerator
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