about summary refs log tree commit diff
path: root/clippy_lints/src/lib.register_restriction.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-16 09:55:39 +0000
committerbors <bors@rust-lang.org>2022-03-16 09:55:39 +0000
commitd23ddab82d74cf6bfd72d282254a5c19c9631ef2 (patch)
tree3a92edee7644dedaa480df0f038157592cdcced9 /clippy_lints/src/lib.register_restriction.rs
parent2b0e730bf3896432b73f6697de699181cd7bf92f (diff)
parenta39d64973320468a4b68fe089c9934dc0ef2cf7f (diff)
Auto merge of #8544 - nellorocca:dev/5757, r=flip1995
Moved ``[try_err]`` to restriction

Fixes #5757

changelog: Moved try_err lint to rescrition for #5757
Diffstat (limited to 'clippy_lints/src/lib.register_restriction.rs')
-rw-r--r--clippy_lints/src/lib.register_restriction.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/lib.register_restriction.rs b/clippy_lints/src/lib.register_restriction.rs
index 4e30fc38197..6ab139b2fb6 100644
--- a/clippy_lints/src/lib.register_restriction.rs
+++ b/clippy_lints/src/lib.register_restriction.rs
@@ -62,6 +62,7 @@ store.register_group(true, "clippy::restriction", Some("clippy_restriction"), ve
     LintId::of(strings::STRING_SLICE),
     LintId::of(strings::STRING_TO_STRING),
     LintId::of(strings::STR_TO_STRING),
+    LintId::of(try_err::TRY_ERR),
     LintId::of(types::RC_BUFFER),
     LintId::of(types::RC_MUTEX),
     LintId::of(undocumented_unsafe_blocks::UNDOCUMENTED_UNSAFE_BLOCKS),