Skip to content

Commit e6e6e7d

Browse files
committed
Change unseparated_literal_suffix type to restriction
1 parent 63b04f7 commit e6e6e7d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

clippy_lints/src/lib.register_pedantic.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ store.register_group(true, "clippy::pedantic", Some("clippy_pedantic"), vec![
6565
LintId::of(methods::MAP_UNWRAP_OR),
6666
LintId::of(misc::FLOAT_CMP),
6767
LintId::of(misc::USED_UNDERSCORE_BINDING),
68-
LintId::of(misc_early::UNSEPARATED_LITERAL_SUFFIX),
6968
LintId::of(mut_mut::MUT_MUT),
7069
LintId::of(needless_bitwise_bool::NEEDLESS_BITWISE_BOOL),
7170
LintId::of(needless_borrow::REF_BINDING_TO_REFERENCE),

clippy_lints/src/lib.register_restriction.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ store.register_group(true, "clippy::restriction", Some("clippy_restriction"), ve
3535
LintId::of(methods::UNWRAP_USED),
3636
LintId::of(misc::FLOAT_CMP_CONST),
3737
LintId::of(misc_early::UNNEEDED_FIELD_PATTERN),
38+
LintId::of(misc_early::UNSEPARATED_LITERAL_SUFFIX),
3839
LintId::of(missing_doc::MISSING_DOCS_IN_PRIVATE_ITEMS),
3940
LintId::of(missing_enforced_import_rename::MISSING_ENFORCED_IMPORT_RENAMES),
4041
LintId::of(missing_inline::MISSING_INLINE_IN_PUBLIC_ITEMS),

clippy_lints/src/misc_early/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ declare_clippy_lint! {
128128
/// let y = 123832_i32;
129129
/// ```
130130
pub UNSEPARATED_LITERAL_SUFFIX,
131-
pedantic,
131+
restriction,
132132
"literals whose suffix is not separated by an underscore"
133133
}
134134

0 commit comments

Comments
 (0)