pub fn build_dead_parameter_report(
root: &Path,
explicit_files: Option<&[PathBuf]>,
walk_config: &WalkConfig,
) -> DiagnosticsReportExpand description
Build a DiagnosticsReport for the dead-parameter rule.
Walks all source files under root, analyzes each with the scope engine, and emits
a warning for every function parameter that is never referenced in the file.