rust/src/librustc_interface
bors 590ae0ec4d Auto merge of #64813 - varkor:node-to-kind, r=Centril
Rename `*.node` to `*.kind`, and `hair::Pattern*` to `hair::Pat*`

In both `ast::Expr` and `hir::Expr`:

- Rename `Expr.node` to `Expr.kind`.
- Rename `Pat.node` to `Pat.kind`.
- Rename `ImplItem.node` to `ImplItem.kind`.
- Rename `Lit.node` to `Lit.kind`.
- Rename `TraitItem.node` to `TraitItem.kind`.
- Rename `Ty.node` to `Ty.kind`.
- Rename `Stmt.node` to `Stmt.kind`.
- Rename `Item.node` to `Item.kind`.
- Rename `ForeignItem.node` to `ForeignItem.kind`.
- Rename `MetaItem.node` to `MetaItem.kind`.

Also:
- Rename `hair::FieldPattern` to `hair::FieldPat`.
- Rename `hair::PatternKind` to `hair::PatKind`.
- Rename `hair::PatternRange` to `hair::PatRange`.
- Rename `PatternContext` to `PatCtxt`.
- Rename `PatternTypeProjection` to `PatTyProj`.
- Rename `hair::Pattern` to `hair::Pat`.

These two sets of changes are grouped together to aid with merging. The only changes are renamings.

r? @petrochenkov
2019-09-27 10:05:38 +00:00
..
profile Remove redundant imports 2019-03-30 22:37:02 +01:00
build.rs Locate rustc binary similarly to codegen backend loading 2019-09-10 16:57:14 -04:00
Cargo.toml Locate rustc binary similarly to codegen backend loading 2019-09-10 16:57:14 -04:00
interface.rs Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
lib.rs Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
passes.rs Remove tx_to_llvm_workers from TyCtxt 2019-09-25 16:57:27 -04:00
proc_macro_decls.rs rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-04 12:53:12 +02:00
queries.rs Remove tx_to_llvm_workers from TyCtxt 2019-09-25 16:57:27 -04:00
util.rs Rename MetaItem.node to MetaItem.kind 2019-09-26 18:21:48 +01:00