LINT_NO_OP

Constant LINT_NO_OP 

Source
pub(crate) const LINT_NO_OP: fn(&Path) -> LintFnResult = _; // {<{closure@yog/tec/src/main.rs:234:26: 234:29} as std::ops::FnOnce<(&std::path::Path,)>>::call_once as for<'a> fn(&'a std::path::Path) -> LintFnResult}
Expand description

No-operation lint that reports “skipped” status.

Used by build_conditional_lint when a lint should be skipped due to no relevant file changes.

§Rationale

Provides a reusable constant for skipped lints, avoiding duplication of the skip logic and ensuring consistent output.