about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-08-03 16:40:06 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2014-08-10 22:49:41 +1000
commitf3d88c320d4b08e5534f2193462e6a20e27b1d85 (patch)
treeea2c4c1396b9542cc52f680290b41a30c39ea407 /src/rustllvm/ExecutionEngineWrapper.cpp
parentd4d608fabda8f39f319ebefd9aebf4ceb7c1bbf4 (diff)
downloadrust-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