rustc_expand::base

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: &[P<Item>],
        name: Symbol,
    );
}

Required Methods§

Source

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

Implementors§