about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-06-11 20:45:17 +0000
committerbors <bors@rust-lang.org>2019-06-11 20:45:17 +0000
commit5f3656ce9a2212fad872605b7a4ee103a155e9f3 (patch)
tree367771ead660a6aa657c9f5133d3feeb28173129 /src/rustllvm/RustWrapper.cpp
parent8e948df707ea8a3c88c65bf2ffdcb2f1cf5491be (diff)
parent1d720ec27c5bdbc377145b8a29c1d727fb7131d6 (diff)
downloadrust-5f3656ce9a2212fad872605b7a4ee103a155e9f3.tar.gz
rust-5f3656ce9a2212fad872605b7a4ee103a155e9f3.zip
Auto merge of #61735 - eddyb:must-use-life, r=oli-obk
Add deny(unused_lifetimes) to all the crates that have deny(internal).

@Zoxc brought up, regarding #61722, that we don't force the removal of unused lifetimes.
Turns out that it's not that bad to enable for compiler crates (I wonder why it's not `warn` by default?).

I would've liked to enable `single_use_lifetimes` as well, but https://github.com/rust-lang/rust/issues/53738 makes it unusable for now.

For the `rustfmt` commit, I used https://github.com/rust-lang/rustfmt/issues/1324#issuecomment-482109952, and manually filtered out some noise.

r? @oli-obk cc @rust-lang/compiler
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions