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>2013-11-16 00:39:48 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-11-16 22:20:42 +1100
commit6bd8bb51a0c148c297b2396929149c5e946993c1 (patch)
tree05083c7533e26f6705fb2230e1a5a8aadbafaf3d /src/rustllvm/RustWrapper.cpp
parent90754ae9c95c18841c0200d77da917af5ecde5ee (diff)
downloadrust-6bd8bb51a0c148c297b2396929149c5e946993c1.tar.gz
rust-6bd8bb51a0c148c297b2396929149c5e946993c1.zip
lint: _-prefixed variables don't get an unused-mut warning.
Bringing it into line with the unused-variable one,

    fn main() {
        let mut _a = 1;
    }

will not warn that `_a` is never used mutably.

Fixes #6911.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions