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>2020-10-27 22:59:13 +0000
committerbors <bors@rust-lang.org>2020-10-27 22:59:13 +0000
commit90e6d0d46bae511aecea04ac5eeb3c387f0c04f4 (patch)
tree377ed837d5c0484e2b59bdd47e6be583567b0171 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent07e968b640e8ff76fa8be4b48b70ab80ea577800 (diff)
parent572cd358d379e4e641ad44bc693cdf48ceaf3581 (diff)
downloadrust-90e6d0d46bae511aecea04ac5eeb3c387f0c04f4.tar.gz
rust-90e6d0d46bae511aecea04ac5eeb3c387f0c04f4.zip
Auto merge of #75671 - nathanwhit:cstring-temp-lint, r=oli-obk
Uplift `temporary-cstring-as-ptr` lint from `clippy` into rustc

The general consensus seems to be that this lint covers a common enough mistake to warrant inclusion in rustc.
The diagnostic message might need some tweaking, as I'm not sure the use of second-person perspective matches the rest of rustc, but I'd like to hear others' thoughts on that.

(cc #53224).

r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions