Skip to main content

NAMES

Constant NAMES 

Source
pub const NAMES: &[&str];
Expand description

Every stdlib rule’s kebab-case name, in registration order.

Parallel to the boxed-rule registry: the LintRule::name trait signature returns &str (not &'static str) so user rules can borrow from self, which means stdlib names can’t be lifted off the rule instances at compile time. The test names_match_all_boxed catches drift between this array and the rules themselves.