about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-06-27 18:02:52 +0000
committerbors <bors@rust-lang.org>2023-06-27 18:02:52 +0000
commitc710b4815d1b2bb308d261a112959c9161c3646c (patch)
tree56be1a6efd6f9ff97b5d10cc66bbcb315efd66b2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentecdea8cdd386260970dad617cae2a71b25a307f5 (diff)
parent8cb6c86996a8ea9e35a4e1c0c38a5a4da00b95dc (diff)
downloadrust-c710b4815d1b2bb308d261a112959c9161c3646c.tar.gz
rust-c710b4815d1b2bb308d261a112959c9161c3646c.zip
Auto merge of #10884 - Centri3:needless_raw_string_hashes, r=dswij
New lint [`needless_raw_string_hashes`]

Emits a warning when there are an extraneous number of hashes(?) around a raw string literal, for example `r##"I'm a "raw string literal"!"##` or `cr#"crunb"#`

Closes #10882

I think this could also fit in `style` as well, rather than `complexity`.

changelog: Add [`needless_raw_string_hashes`] and [`needless_raw_string`] lints
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions