about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorZack M. Davis <code@zackmdavis.net>2018-10-27 23:40:56 -0700
committerZack M. Davis <code@zackmdavis.net>2018-10-28 00:14:41 -0700
commitfd28753e83ac0599357aef8df4b25996e7f4a630 (patch)
tree4d149371baa206a9474d901e6e9ea9ff314d14ac /src/rustllvm/RustWrapper.cpp
parent1982f1887ad524951f24c12a6cc7bf05148aec14 (diff)
downloadrust-fd28753e83ac0599357aef8df4b25996e7f4a630.tar.gz
rust-fd28753e83ac0599357aef8df4b25996e7f4a630.zip
structured suggestions for single-use lifetime lint on fns and methods
It would be nice to demonstrate the shining correctness here with more
run-rustfix tests than this, but unfortunately, that doesn't work with
multipart suggestions yet (#53934).

While we're here, reword the zero-use lifetime suggestion to "elide
the unused lifetime" instead of "remove it". (It's classier.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions