about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-05-11 11:31:08 -0700
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-05-12 08:39:05 -0600
commitda79ff3cc2265514483d2a5e1f4238c85baa70e9 (patch)
tree7607352f04a53cfd5821fafb71039deb26e15be5 /src/rustllvm/PassWrapper.cpp
parent28856327066b9d15662ffd185196366de02c6240 (diff)
downloadrust-da79ff3cc2265514483d2a5e1f4238c85baa70e9.tar.gz
rust-da79ff3cc2265514483d2a5e1f4238c85baa70e9.zip
rustc: Only suggest deleting `extern crate` if it works
This commit updates one of the edition lints to only suggest deleting `extern
crate` if it actually works. Otherwise this can yield some confusing behavior
with rustfix specifically where if you accidentally deny the `rust_2018_idioms`
lint in the 2015 edition it's suggesting features that don't work!
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions