about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-05-13 16:15:47 +0800
committerkennytm <kennytm@gmail.com>2018-05-13 17:20:30 +0800
commitededa9dcd563c9191efeb4bc07c280281b595674 (patch)
treef1f67de03d1ca6a3ffc9b4ed2b944b098ce9dd0c /src/rustllvm/RustWrapper.cpp
parent34cec066d9c00f9f132d79707e116c7512d9d6ed (diff)
parent12f92e9640df926da70911b31d0fd2967be5fec3 (diff)
downloadrust-ededa9dcd563c9191efeb4bc07c280281b595674.tar.gz
rust-ededa9dcd563c9191efeb4bc07c280281b595674.zip
Rollup merge of #50667 - alexcrichton:no-remove-extern-crate-unless-works, r=Manishearth
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/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions