diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-07-09 22:02:19 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-07-10 08:05:58 +1000 |
| commit | b9e35a164416272a3aa3778c2ce9669dcc15c556 (patch) | |
| tree | 7fe2c5b5dc8d443faf22ad743bd45532088a093d /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 66e1f11ef482d90f2ea3bd284b07cd825315fadd (diff) | |
| download | rust-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/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
