diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-05-11 11:31:08 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-05-11 12:57:01 -0700 |
| commit | 12f92e9640df926da70911b31d0fd2967be5fec3 (patch) | |
| tree | 1f6805833a337a58cccc242b559a6c4b16d3ebad /src/rustllvm/RustWrapper.cpp | |
| parent | fe63e479d1f6e3122b61f86f5117eac981b071f2 (diff) | |
| download | rust-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
