about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-28 10:34:33 +0000
committerbors <bors@rust-lang.org>2023-09-28 10:34:33 +0000
commit29ed6fa11945d4333acd8eb72c8ee24f847ac8c7 (patch)
treefea38a5c0bea49aab91da85be1c410227fd97049
parent124f1b06596ff1749d5b5da59e32d1c229421219 (diff)
parent1c77b0b2677f04f535137cdf582c98a281309a1b (diff)
downloadrust-29ed6fa11945d4333acd8eb72c8ee24f847ac8c7.tar.gz
rust-29ed6fa11945d4333acd8eb72c8ee24f847ac8c7.zip
Auto merge of #11415 - Alexendoo:needless-raw-string-hashes-pedantic, r=flip1995
Move `needless_raw_string_hashes` to `pedantic`

IMO it doesn't improve code enough to be warn by default. [It seems to be unclear to some also](https://github.com/rust-lang/rust-clippy/issues/11402), but that can probably be remedied separately

changelog: Moved [`needless_raw_string_hashes`] to `pedantic` (Now allow-by-default)
[#11415](https://github.com/rust-lang/rust-clippy/pull/11415)

r? `@flip1995`
-rw-r--r--clippy_lints/src/raw_strings.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/raw_strings.rs b/clippy_lints/src/raw_strings.rs
index 4b46cbc4d89..c951d9a4a09 100644
--- a/clippy_lints/src/raw_strings.rs
+++ b/clippy_lints/src/raw_strings.rs
@@ -50,7 +50,7 @@ declare_clippy_lint! {
     /// ```
     #[clippy::version = "1.72.0"]
     pub NEEDLESS_RAW_STRING_HASHES,
-    style,
+    pedantic,
     "suggests reducing the number of hashes around a raw string literal"
 }
 impl_lint_pass!(RawStrings => [NEEDLESS_RAW_STRINGS, NEEDLESS_RAW_STRING_HASHES]);