about summary refs log tree commit diff
path: root/clippy_lints/src/empty_structs_with_brackets.rs
diff options
context:
space:
mode:
authorMax Baumann <max@bmn.dev>2022-03-30 13:33:10 +0200
committerMax Baumann <max@bmn.dev>2022-03-30 20:13:16 +0200
commit0434b856ac4253364f2f622df41209412442bb75 (patch)
treecadb45268de5baad930ea89f967245ee8378701d /clippy_lints/src/empty_structs_with_brackets.rs
parent49a9740b09448ac903a2a1a9b73f09e4ca7fc783 (diff)
downloadrust-0434b856ac4253364f2f622df41209412442bb75.tar.gz
rust-0434b856ac4253364f2f622df41209412442bb75.zip
pedantic -> restriction
Diffstat (limited to 'clippy_lints/src/empty_structs_with_brackets.rs')
-rw-r--r--clippy_lints/src/empty_structs_with_brackets.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/empty_structs_with_brackets.rs b/clippy_lints/src/empty_structs_with_brackets.rs
index 15c06126fd5..8f2a0306aa0 100644
--- a/clippy_lints/src/empty_structs_with_brackets.rs
+++ b/clippy_lints/src/empty_structs_with_brackets.rs
@@ -23,7 +23,7 @@ declare_clippy_lint! {
     /// ```
     #[clippy::version = "1.62.0"]
     pub EMPTY_STRUCTS_WITH_BRACKETS,
-    pedantic,
+    restriction,
     "finds struct declarations with empty brackets"
 }
 declare_lint_pass!(EmptyStructsWithBrackets => [EMPTY_STRUCTS_WITH_BRACKETS]);