rust/src/librustc_lint
Tyler Mandry fca3264406
Rollup merge of #68204 - ecstatic-morse:item-kind-impl, r=oli-obk
Use named fields for `{ast,hir}::ItemKind::Impl`

Currently, the widely used `ItemKind::Impl` variant is a tuple with seven fields. I want to add an eighth in #68140, which means I have to update most matches on this variant anyways. Giving a name to each field improves readability and makes future changes of this nature much simpler.

This change will cause several tools to break. I will fix them once this is merged.
2020-01-17 17:28:14 -08:00
..
nonstandard_style Separate librustc_lint module 2019-06-16 14:17:01 +03:00
array_into_iter.rs move rustc::lint::{context, passes} to rustc_lint. 2020-01-11 07:42:26 +01:00
builtin.rs Use named fields for hir::ItemKind::Impl 2020-01-17 16:14:29 -08:00
Cargo.toml {rustc::lint -> rustc_lint}::internal 2020-01-11 07:42:26 +01:00
context.rs don't clone types that are copy 2020-01-16 23:48:49 +01:00
early.rs move rustc::lint::{context, passes} to rustc_lint. 2020-01-11 07:42:26 +01:00
internal.rs Use named fields for ast::ItemKind::Impl 2020-01-17 15:59:07 -08:00
late.rs pacify the parallel compiler 2020-01-11 07:42:26 +01:00
levels.rs move rustc::lint::{context, passes} to rustc_lint. 2020-01-11 07:42:26 +01:00
lib.rs Expose context::CheckLintNameResult 2020-01-12 15:25:41 +09:00
non_ascii_idents.rs move rustc::lint::{context, passes} to rustc_lint. 2020-01-11 07:42:26 +01:00
nonstandard_style.rs Don't warn about snake case for field puns that don't introduce a new name. 2020-01-17 05:57:39 +10:00
passes.rs lints: move a comment 2020-01-11 07:42:26 +01:00
redundant_semicolon.rs move rustc::lint::{context, passes} to rustc_lint. 2020-01-11 07:42:26 +01:00
types.rs move rustc::lint::{context, passes} to rustc_lint. 2020-01-11 07:42:26 +01:00
unused.rs move rustc::lint::{context, passes} to rustc_lint. 2020-01-11 07:42:26 +01:00