Function clippy_lints::utils::in_external_macro [] [src]

pub fn in_external_macro<'a, T: LintContext<'a>>(cx: &T, span: Span) -> bool

Returns true if the macro that expanded the crate was outside of the current crate or was a compiler plugin.