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.
This commit is contained in:
commit
1a82ca0a61
@ -50,7 +50,7 @@
|
|||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.72.0"]
|
#[clippy::version = "1.72.0"]
|
||||||
pub NEEDLESS_RAW_STRING_HASHES,
|
pub NEEDLESS_RAW_STRING_HASHES,
|
||||||
style,
|
pedantic,
|
||||||
"suggests reducing the number of hashes around a raw string literal"
|
"suggests reducing the number of hashes around a raw string literal"
|
||||||
}
|
}
|
||||||
impl_lint_pass!(RawStrings => [NEEDLESS_RAW_STRINGS, NEEDLESS_RAW_STRING_HASHES]);
|
impl_lint_pass!(RawStrings => [NEEDLESS_RAW_STRINGS, NEEDLESS_RAW_STRING_HASHES]);
|
||||||
|
Loading…
Reference in New Issue
Block a user