about summary refs log tree commit diff
diff options
context:
space:
mode:
authorunexge <unexge@gmail.com>2023-02-18 19:14:50 +0000
committerunexge <unexge@gmail.com>2023-03-08 08:51:26 +0000
commit6fac73b9874ea79fbac5f0fa9429c726c196d9a6 (patch)
tree5fde599af0697250fc01d228a199faa56d4a53d0
parent4eb6ccc9731095ed014bd5c047bcd7dd75bdf335 (diff)
downloadrust-6fac73b9874ea79fbac5f0fa9429c726c196d9a6.tar.gz
rust-6fac73b9874ea79fbac5f0fa9429c726c196d9a6.zip
Move lint to `restriction` category
Co-authored-by: Weihang Lo <me@weihanglo.tw>
-rw-r--r--clippy_lints/src/missing_assert_message.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/missing_assert_message.rs b/clippy_lints/src/missing_assert_message.rs
index 3b73332215e..f499b3e50ca 100644
--- a/clippy_lints/src/missing_assert_message.rs
+++ b/clippy_lints/src/missing_assert_message.rs
@@ -33,7 +33,7 @@ declare_clippy_lint! {
     /// ```
     #[clippy::version = "1.69.0"]
     pub MISSING_ASSERT_MESSAGE,
-    pedantic,
+    restriction,
     "checks assertions without a custom panic message"
 }