Skip to content

Commit

Permalink
Rollup merge of rust-lang#50667 - alexcrichton:no-remove-extern-crate…
Browse files Browse the repository at this point in the history
…-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!
  • Loading branch information
kennytm committed May 13, 2018
2 parents 34cec06 + 12f92e9 commit ededa9d
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit ededa9d

Please sign in to comment.