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-15 23:35:58 -0700
committerZack M. Davis <code@zackmdavis.net>2018-10-27 12:31:20 -0700
commitf66ea66acd1c5e24e16fafe28021af1b723d6824 (patch)
tree13fa9dbcf5285d1027f1b9cbbe8dfdeb79b25388 /src/rustllvm/RustWrapper.cpp
parentf90de1110d93ea389342220caad19e05c4e6ad10 (diff)
downloadrust-f66ea66acd1c5e24e16fafe28021af1b723d6824.tar.gz
rust-f66ea66acd1c5e24e16fafe28021af1b723d6824.zip
wherein the status of empty and reason-only lint attributes is clarified
We avoid an ICE by checking for an empty meta-item list before we
index into the meta-items, and leave commentary about where we'd like
to issue unused-attributes lints in the future. Note that empty lint
attributes are already accepted by the stable compiler; generalizing
this to weird reason-only lint attributes seems like the
conservative/consilient generalization.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions