about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-09-29 10:11:14 +0200
committerGitHub <noreply@github.com>2023-09-29 10:11:14 +0200
commit1a82ca0a61c558f0fc7409b248f875df21282cfd (patch)
tree1151c544d1f5ee64ece1b5839f14bbde8473402e
parent38fd80a1123e56a24feda899ba4d2599a8d28637 (diff)
parent82207f4ff4ab4712a86e152656aaf1aa6a9299c6 (diff)
downloadrust-1a82ca0a61c558f0fc7409b248f875df21282cfd.tar.gz
rust-1a82ca0a61c558f0fc7409b248f875df21282cfd.zip
Rollup merge of #116245 - flip1995:clippy-backport, r=Manishearth
Clippy backport: Move needless_raw_string_hashes to pedantic

Really small backport this time. Context: https://github.com/rust-lang/rust-clippy/pull/11415#issuecomment-1739880932

I'd rather get this in 1.74 than waiting another release cycle.

r? `@Manishearth`

cc `@Mark-Simulacrum` This should be merged before beta is branched tomorrow.
-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 2895595e039..8a7e4874666 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]);