Skip to content

Commit

Permalink
Rollup merge of #116245 - flip1995:clippy-backport, r=Manishearth
Browse files Browse the repository at this point in the history
Clippy backport: Move needless_raw_string_hashes to pedantic

Really small backport this time. Context: rust-lang/rust-clippy#11415 (comment)

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.
  • Loading branch information
matthiaskrgr authored Sep 29, 2023
2 parents 4f09f80 + 07f81cd commit 92234f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/clippy/clippy_lints/src/raw_strings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 92234f9

Please sign in to comment.