rust/compiler/rustc_ast_passes/src
Matthias Krüger 8d820c0c47
Rollup merge of #123188 - klensy:clippy-me2, r=Nilstrieb
compiler: fix few unused_peekable and needless_pass_by_ref_mut clippy lints

This fixes few instances of `unused_peekable` and `needless_pass_by_ref_mut`. While i expected to fix more warnings, `needless_pass_by_ref_mut` produced too much for one PR, so i stopped here.

Better reviewed commit by commit, as fixes splitted by chunks.
2024-03-29 15:17:11 +01:00
..
ast_validation.rs compiler: fix few needless_pass_by_ref_mut clippy lints 2024-03-28 11:37:52 +03:00
errors.rs Rename AddToDiagnostic as Subdiagnostic. 2024-03-11 10:04:49 +11:00
feature_gate.rs Feature gate 2024-03-27 11:20:28 -04:00
lib.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
node_count.rs Remove unused span argument from walk_fn. 2022-09-12 13:24:27 +10:00
show_span.rs Rename {create,emit}_warning as {create,emit}_warn. 2024-01-10 07:33:06 +11:00