about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-05-11 11:31:08 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-05-11 12:57:01 -0700
commit12f92e9640df926da70911b31d0fd2967be5fec3 (patch)
tree1f6805833a337a58cccc242b559a6c4b16d3ebad /src/rustllvm/RustWrapper.cpp
parentfe63e479d1f6e3122b61f86f5117eac981b071f2 (diff)
downloadrust-12f92e9640df926da70911b31d0fd2967be5fec3.tar.gz
rust-12f92e9640df926da70911b31d0fd2967be5fec3.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/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions