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
commit92234f949a2d8a4d7a20c03cae82ff2ccd008f79 (patch)
tree2a07ae51e6e0016d2e2b2d97644d3c2fd3d48266
parent4f09f80bcf31bac53bd1abf106bdbea6ee39a29c (diff)
parent07f81cd58aef7529f6cf457e4167d8ce0c2c89ae (diff)
downloadrust-92234f949a2d8a4d7a20c03cae82ff2ccd008f79.tar.gz
rust-92234f949a2d8a4d7a20c03cae82ff2ccd008f79.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--src/tools/clippy/clippy_lints/src/raw_strings.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/clippy_lints/src/raw_strings.rs b/src/tools/clippy/clippy_lints/src/raw_strings.rs
index 2895595e039..8a7e4874666 100644
--- a/src/tools/clippy/clippy_lints/src/raw_strings.rs
+++ b/src/tools/clippy/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]);