Skip to content

Commit

Permalink
Update clippy_lints/src/lib.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Philipp Krones <hello@philkrones.com>
  • Loading branch information
Licenser and flip1995 authored Oct 25, 2019
1 parent 41be2c7 commit f2b85f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
store.register_early_pass(move || box enum_variants::EnumVariantNames::new(enum_variant_name_threshold));
store.register_late_pass(|| box unused_self::UnusedSelf);
store.register_late_pass(|| box mutable_debug_assertion::DebugAssertWithMutCall);
store.register_late_lint_pass(|| box exit::Exit);
store.register_late_pass(|| box exit::Exit);

store.register_group(true, "clippy::restriction", Some("clippy_restriction"), vec![
LintId::of(&arithmetic::FLOAT_ARITHMETIC),
Expand Down

0 comments on commit f2b85f5

Please sign in to comment.