Expand description
Lint rule implementations.
Each submodule contains one or more related lint checks. All rules operate
on the shared CrateIndex and produce
Diagnostic values.
Modules§
- doc_
attr_ interleave - MXL302: non-doc attribute interrupts a doc-comment stream on a
#[miniextendr]item. - export_
attrs - Export attribute redundancy checks.
- ffi_
unchecked _uncheckedFFI call outside guard context.- fn_
visibility - Function visibility checks.
- impl_
validation - Impl block validation: class system compatibility and label uniqueness.
- lifetime_
param - MXL112: explicit lifetime parameter on
#[miniextendr]function or impl block. - r_
reserved_ params - R reserved-word parameter name check.
- rf_
error - Direct
Rf_error/Rf_errorcallusage lint. - s4_
method_ prefix - MXL111:
s4_*method name on#[miniextendr(s4)]impl. - vctrs_
self_ ctor - MXL120: vctrs constructor returns
Self/ named type, or impl has an instance-method receiver.
Functions§
- run_
all_ rules - Run all lint rules against the crate index, collecting diagnostics.