f4e981cfe4
rustc: Suggest removing `extern crate` in 2018 This commit updates the `unused_extern_crates` lint to make automatic suggestions about removing `extern crate` annotations in the 2018 edition. This ended up being a little easier than originally though due to what's likely been fixed issues in the resolver! Closes #52829 |
||
---|---|---|
.. | ||
check | ||
coherence | ||
outlives | ||
variance | ||
astconv.rs | ||
Cargo.toml | ||
check_unused.rs | ||
collect.rs | ||
constrained_type_params.rs | ||
diagnostics.rs | ||
impl_wf_check.rs | ||
lib.rs | ||
namespace.rs | ||
README.md | ||
structured_errors.rs |
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc guide.