about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBrian Warner <warner@lothar.com>2020-07-13 10:33:25 -0700
committerBrian Warner <warner@lothar.com>2020-07-13 10:59:45 -0700
commit201999ccfd18a9debe1f186f30f40659ebc6b933 (patch)
treee30801a591a6cb6f20247eb59ca7d0c30bbba9da /src/rustllvm/RustWrapper.cpp
parent4b8700879c59d1673dc36ea16aff3020af23dcc5 (diff)
downloadrust-201999ccfd18a9debe1f186f30f40659ebc6b933.tar.gz
rust-201999ccfd18a9debe1f186f30f40659ebc6b933.zip
improve advice in iter_nth_zero
The "use .next()" replacement advice is on the last line of the code snippet,
where it is vulnerable to truncation. Display that advice at the beginning
instead.

closes #5783
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions