pub struct InvalidArgumentCountFixGenerator;
Expand description
Generates fixes for invalid function argument count (E0061)
Implementations§
Source§impl InvalidArgumentCountFixGenerator
impl InvalidArgumentCountFixGenerator
Sourcepub fn new() -> InvalidArgumentCountFixGenerator
pub fn new() -> InvalidArgumentCountFixGenerator
Creates a new InvalidArgumentCountFixGenerator
Trait Implementations§
Source§impl FixGenerator for InvalidArgumentCountFixGenerator
impl FixGenerator for InvalidArgumentCountFixGenerator
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 InvalidArgumentCountFixGenerator
impl RefUnwindSafe for InvalidArgumentCountFixGenerator
impl Send for InvalidArgumentCountFixGenerator
impl Sync for InvalidArgumentCountFixGenerator
impl Unpin for InvalidArgumentCountFixGenerator
impl UnwindSafe for InvalidArgumentCountFixGenerator
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