diff options
| author | Red Rapious <red.rapious@gmail.com> | 2023-08-21 19:05:59 +0200 |
|---|---|---|
| committer | Red Rapious <red.rapious@gmail.com> | 2023-08-21 19:05:59 +0200 |
| commit | e33a17e33c0201f8fe00a17e875fe8f8b7210ce5 (patch) | |
| tree | 3a2c5a4f77d00c77a62e0a79bf99482113e7ada5 | |
| parent | 7fbf808a5056f63da5d2ae86ebeb32fb21f45b50 (diff) | |
| download | rust-e33a17e33c0201f8fe00a17e875fe8f8b7210ce5.tar.gz rust-e33a17e33c0201f8fe00a17e875fe8f8b7210ce5.zip | |
Changed Box
| -rw-r--r-- | clippy_lints/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 791fb96453d..f50019f3cf7 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -1096,7 +1096,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf: }); store.register_late_pass(|_| Box::new(redundant_locals::RedundantLocals)); store.register_late_pass(|_| Box::new(ignored_unit_patterns::IgnoredUnitPatterns)); - store.register_late_pass(|_| Box::new(reserve_after_initialization::ReserveAfterInitialization::default())); + store.register_late_pass(|_| Box::<reserve_after_initialization::ReserveAfterInitialization>::default()); // add lints here, do not remove this comment, it's used in `new_lint` } |
