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§
- 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.
- 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. - trait_
tag_ collision - MXL303: trait-impl vtable-symbol collision detection.
- vctrs_
self_ ctor - MXL120: vctrs constructor returns
Self/ named type, or impl has an instance-method receiver. - vec_
into_ sexp into_sexp()inside avec!/array literal — use-after-free idiom.
Functions§
- run_
all_ rules - Run all lint rules against the crate index, collecting diagnostics.