LintStoreExpand in rustc_expand::base - Rust
Description: API documentation for the Rust `LintStoreExpand` trait in crate `rustc_expand`.

Skip to main content

## LintStoreExpand

# Trait LintStoreExpand

Source

    pub trait LintStoreExpand {
        // Required method
        fn pre_expansion_lint(
            &self,
            sess: &Session,
            features: &Features,
            registered_tools: &RegisteredTools,
            node_id: NodeId,
            attrs: &[Attribute],
            items: &[Box<Item>],
            name: Symbol,
        );
    }

## Required Methods§

Source

#### fn pre_expansion_lint( &self, sess: &Session, features: &Features, registered_tools: &RegisteredTools, node_id: NodeId, attrs: &[Attribute], items: &[Box<Item>], name: Symbol, )

## Implementors§