about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-10-14 11:32:31 -0700
committerAaron Turon <aturon@mozilla.com>2014-10-14 16:04:06 -0700
commit31b7d64fdc11090b18666c190cf136549158644f (patch)
tree462da778fc239022c92ca2ec6e196f1c91fdb71d /src/rustllvm/RustWrapper.cpp
parent3c0d2a7c90a381fa0df977300f267bb96760b566 (diff)
downloadrust-31b7d64fdc11090b18666c190cf136549158644f.tar.gz
rust-31b7d64fdc11090b18666c190cf136549158644f.zip
rustc: Add deprecation/renaming support for lints
Since a large number of lints are being renamed for RFC 344, this commit
adds some basic deprecation/renaming functionality to the pluggable lint
system. It allows a simple mapping of old to new names, and can warn
when old names are being used.

This change needs to be rolled out in stages. In this commit, the
deprecation warning is commented out, but the old name is forwarded to
the new one.

Once the commit lands and we have generated a new snapshot of the
compiler, we can add the deprecation warning and rename all uses of the
lints in the rust codebase.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions