Enum rslint_errors::Applicability [−][src]
pub enum Applicability {
Always,
MaybeIncorrect,
HasPlaceholders,
Unspecified,
}
Expand description
Indicicates how a tool should manage this suggestion.
Variants
The suggestion is definitely what the user intended. This suggestion should be automatically applied.
The suggestion may be what the user intended, but it is uncertain. The suggestion should result in valid JavaScript/TypeScript code if it is applied.
The suggestion contains placeholders like (...)
or { /* fields */ }
.
The suggestion cannot be applied automatically because it will not result in valid JavaScript/TypeScript code.
The user will need to fill in the placeholders.
The applicability of the suggestion is unknown.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Applicability
impl Send for Applicability
impl Sync for Applicability
impl Unpin for Applicability
impl UnwindSafe for Applicability
Blanket Implementations
Mutably borrows from an owned value. Read more
Whether this implementor has acknowledged the 1.1.0 update to
unerase
’s documented implementation requirements. Read more