]> git.lizzy.rs Git - rust.git/commit
Rename the 2018 edition lint names
authorAlex Crichton <alex@alexcrichton.com>
Thu, 10 May 2018 18:28:11 +0000 (11:28 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 10 May 2018 18:28:11 +0000 (11:28 -0700)
commitd636aec3514874274f2acc8a6897c451ac380d1f
treead8f8d89b1e2af349ec146fc53b76b565efffad9
parent0a223d139cd26e5bfab23a478a5cad845eaab131
Rename the 2018 edition lint names

* `rust_2018_breakage` -> `rust_2018_compatibility` - the lint for ensuring
  that your code, in the 2015 edition, is compatible with the 2018 edition's
  semantics. This is required to pass *before* you enable the 2018 edition.
* `rust_2018_migration` -> `rust_2018_idioms` - the lint for writing idiomatic
  code after you've already enabled the 2018 edition
src/librustc_lint/lib.rs
src/libsyntax/edition.rs