Struct rustc_lint::builtin::EllipsisInclusiveRangePatterns[][src]

pub struct EllipsisInclusiveRangePatterns {
    node_id: Option<NodeId>,
}

Fields

node_id: Option<NodeId>

If Some(_), suppress all subsequent pattern warnings for better diagnostics.

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

fn check_pat_post(&mut self, _cx: &EarlyContext<'_>, pat: &Pat)

fn check_crate_post(&mut self, _: &EarlyContext<'_>, _: &Crate)

fn check_foreign_item_post(&mut self, _: &EarlyContext<'_>, _: &ForeignItem)

fn check_item_post(&mut self, _: &EarlyContext<'_>, _: &Item)

fn check_block_post(&mut self, _: &EarlyContext<'_>, _: &Block)

fn check_expr_post(&mut self, _: &EarlyContext<'_>, _: &Expr)

fn check_fn_post(
    &mut self,
    _: &EarlyContext<'_>,
    _: FnKind<'_>,
    _: Span,
    _: NodeId
)

fn check_trait_item_post(&mut self, _: &EarlyContext<'_>, _: &AssocItem)

fn check_impl_item_post(&mut self, _: &EarlyContext<'_>, _: &AssocItem)

fn check_struct_def_post(&mut self, _: &EarlyContext<'_>, _: &VariantData)

fn check_variant_post(&mut self, _: &EarlyContext<'_>, _: &Variant)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 4 bytes