Enum rune::WarningKind [−][src]
pub enum WarningKind { NotUsed { span: Span, context: Option<Span>, }, LetPatternMightPanic { span: Span, context: Option<Span>, }, TemplateWithoutExpansions { span: Span, context: Option<Span>, }, RemoveTupleCallParams { span: Span, variant: Span, context: Option<Span>, }, UnecessarySemiColon { span: Span, }, }
Expand description
Compilation warning kind.
Variants
Item identified by the span is not used.
Fields of NotUsed
Warning that an unconditional let pattern will panic if it doesn’t match.
Fields of LetPatternMightPanic
Encountered a template string without an expansion.
Fields of TemplateWithoutExpansions
Suggestion that call parameters could be removed.
Fields of RemoveTupleCallParams
An unecessary semi-colon is used.
Fields of UnecessarySemiColon
span: Span
Span where the semi-colon is.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WarningKind
impl Send for WarningKind
impl Sync for WarningKind
impl Unpin for WarningKind
impl UnwindSafe for WarningKind
Blanket Implementations
Mutably borrows from an owned value. Read more