pub struct UnstableFeatureFixGenerator;
Expand description
Generates fixes for unstable feature usage (E0658)
Implementations§
Trait Implementations§
Source§impl FixGenerator for UnstableFeatureFixGenerator
impl FixGenerator for UnstableFeatureFixGenerator
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 UnstableFeatureFixGenerator
impl RefUnwindSafe for UnstableFeatureFixGenerator
impl Send for UnstableFeatureFixGenerator
impl Sync for UnstableFeatureFixGenerator
impl Unpin for UnstableFeatureFixGenerator
impl UnwindSafe for UnstableFeatureFixGenerator
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