Function clippy_lints::utils::is_allowed
[−]
[src]
pub fn is_allowed(cx: &LateContext, lint: &'static Lint, id: NodeId) -> bool
Returns true if the lint is allowed in the current context
Useful for skipping long running code when it's unnecessary