diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-08-03 16:40:06 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-08-10 22:49:41 +1000 |
| commit | f3d88c320d4b08e5534f2193462e6a20e27b1d85 (patch) | |
| tree | ea2c4c1396b9542cc52f680290b41a30c39ea407 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | d4d608fabda8f39f319ebefd9aebf4ceb7c1bbf4 (diff) | |
| download | rust-f3d88c320d4b08e5534f2193462e6a20e27b1d85.tar.gz rust-f3d88c320d4b08e5534f2193462e6a20e27b1d85.zip | |
lint: dead_code ignores items with leading underscores.
This generalises the behaviour with struct fields (which recieve no
dead_code warning if they have a leading _), and other similar lints, to
all items, e.g. `fn _foo() {} fn main() {}` has no warnings.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
