Update clippy_lints/src/lib.rs

Co-Authored-By: Philipp Krones <hello@philkrones.com>
This commit is contained in:
Heinz N. Gies 2019-10-25 10:59:33 +02:00
parent a984702b50
commit abdf027df3

View file

@ -943,7 +943,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),