about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-07-09 22:02:19 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2014-07-10 08:05:58 +1000
commitb9e35a164416272a3aa3778c2ce9669dcc15c556 (patch)
tree7fe2c5b5dc8d443faf22ad743bd45532088a093d /src/rustllvm/RustWrapper.cpp
parent66e1f11ef482d90f2ea3bd284b07cd825315fadd (diff)
downloadrust-b9e35a164416272a3aa3778c2ce9669dcc15c556.tar.gz
rust-b9e35a164416272a3aa3778c2ce9669dcc15c556.zip
lint: extend `#[must_use]` to handle a message.
Similar to the stability attributes, a type annotated with `#[must_use =
"informative snippet"]` will print the normal warning message along with
"informative snippet". This allows the type author to provide some
guidance about why the type should be used.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions