[INFO] crate clippy_lints 0.0.212 is already in cache
[INFO] extracting crate clippy_lints 0.0.212 into work/ex/beta-1.38-rustdoc-1/sources/1.37.0/reg/clippy_lints/0.0.212
[INFO] extracting crate clippy_lints 0.0.212 into work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/reg/clippy_lints/0.0.212
[INFO] validating manifest of clippy_lints-0.0.212 on toolchain 1.37.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of clippy_lints-0.0.212 on toolchain beta-2019-08-13
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing clippy_lints-0.0.212
[INFO] finished frobbing clippy_lints-0.0.212
[INFO] frobbed toml for clippy_lints-0.0.212 written to work/ex/beta-1.38-rustdoc-1/sources/1.37.0/reg/clippy_lints/0.0.212/Cargo.toml
[INFO] started frobbing clippy_lints-0.0.212
[INFO] finished frobbing clippy_lints-0.0.212
[INFO] frobbed toml for clippy_lints-0.0.212 written to work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/reg/clippy_lints/0.0.212/Cargo.toml
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] documenting clippy_lints-0.0.212 against beta-2019-08-13 for beta-1.38-rustdoc-1
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-rustdoc-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/reg/clippy_lints/0.0.212:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] 81004c1d4caa86b59ca54fa7bbc8c79e54d2a76de39ab2730db47ea6727473c1
[INFO] running `"docker" "start" "-a" "81004c1d4caa86b59ca54fa7bbc8c79e54d2a76de39ab2730db47ea6727473c1"`
[INFO] [stderr] warning: the cargo feature `edition` is now stable and is no longer necessary to be listed in the manifest
[INFO] [stderr]     Checking quine-mc_cluskey v0.2.4
[INFO] [stderr]     Checking if_chain v0.1.3
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]     Checking cargo_metadata v0.5.8
[INFO] [stderr]  Documenting clippy_lints v0.0.212 (/opt/crater/workdir)
[INFO] [stderr] warning[E0705]: the feature `rust_2018_preview` is included in the Rust 2018 edition
[INFO] [stderr]   --> src/lib.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | #![feature(rust_2018_preview)]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/consts.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::ty::subst::Substs`
[INFO] [stderr]  --> src/consts.rs:8:31
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rustc::ty::subst::{Subst, Substs};
[INFO] [stderr]   |                               ^^^^^^
[INFO] [stderr]   |                               |
[INFO] [stderr]   |                               no `Substs` in `ty::subst`
[INFO] [stderr]   |                               help: a similar name exists in the module: `Subst`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/utils/mod.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::BinOp_`
[INFO] [stderr]  --> src/utils/comparisons.rs:5:18
[INFO] [stderr]   |
[INFO] [stderr] 5 | use rustc::hir::{BinOp_, Expr};
[INFO] [stderr]   |                  ^^^^^^
[INFO] [stderr]   |                  |
[INFO] [stderr]   |                  no `BinOp_` in `hir`
[INFO] [stderr]   |                  help: a similar name exists in the module: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::BinOp_`
[INFO] [stderr]    --> src/utils/sugg.rs:385:21
[INFO] [stderr]     |
[INFO] [stderr] 385 |     use rustc::hir::BinOp_::*;
[INFO] [stderr]     |                     ^^^^^^ could not find `BinOp_` in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rustc::hir::Expr_`, `rustc::hir::Ty_`, `rustc::hir::StmtSemi`, `rustc::hir::StmtExpr`, `rustc::hir::StmtDecl`, `rustc::hir::Decl_`
[INFO] [stderr]  --> src/utils/author.rs:8:24
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rustc::hir::{Expr, Expr_, QPath, Ty_, Pat, PatKind, BindingAnnotation, StmtSemi, StmtExpr, StmtDecl, Decl_, Stmt};
[INFO] [stderr]   |                        ^^^^^         ^^^                                   ^^^^^^^^  ^^^^^^^^  ^^^^^^^^  ^^^^^ no `Decl_` in `hir`
[INFO] [stderr]   |                        |             |                                     |         |         |
[INFO] [stderr]   |                        |             |                                     |         |         no `StmtDecl` in `hir`
[INFO] [stderr]   |                        |             |                                     |         no `StmtExpr` in `hir`
[INFO] [stderr]   |                        |             no `Ty_` in `hir`                     no `StmtSemi` in `hir`
[INFO] [stderr]   |                        no `Expr_` in `hir`
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rustc::hir::{Expr, Expr, QPath, Ty_, Pat, PatKind, BindingAnnotation, StmtSemi, StmtExpr, StmtDecl, Decl_, Stmt};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rustc::hir::{Expr, Expr_, QPath, Ty, Pat, PatKind, BindingAnnotation, StmtSemi, StmtExpr, StmtDecl, Decl_, Stmt};
[INFO] [stderr]   |                                      ^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/utils/usage.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::BinOp_`
[INFO] [stderr]    --> src/assign_ops.rs:248:21
[INFO] [stderr]     |
[INFO] [stderr] 248 |     use rustc::hir::BinOp_::*;
[INFO] [stderr]     |                     ^^^^^^ could not find `BinOp_` in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::ty::TypeVariants`
[INFO] [stderr]  --> src/default_trait_access.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc::ty::TypeVariants;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `TypeVariants` in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::ty::subst::Substs`
[INFO] [stderr]  --> src/enum_clike.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rustc::ty::subst::Substs;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^------
[INFO] [stderr]   |     |                 |
[INFO] [stderr]   |     |                 help: a similar name exists in the module: `Subst`
[INFO] [stderr]   |     no `Substs` in `ty::subst`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/enum_glob_use.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rustc::hir::map::Node::NodeExpr`, `rustc::hir::map::Node::NodeStmt`
[INFO] [stderr]  --> src/escape.rs:3:29
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc::hir::map::Node::{NodeExpr, NodeStmt};
[INFO] [stderr]   |                             ^^^^^^^^  ^^^^^^^^ no `NodeStmt` in `hir::map::Node`
[INFO] [stderr]   |                             |
[INFO] [stderr]   |                             no `NodeExpr` in `hir::map::Node`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::ty::TypeVariants`
[INFO] [stderr]  --> src/excessive_precision.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc::ty::TypeVariants;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `TypeVariants` in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/functions.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/let_if_seq.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/lifetimes.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/loops.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::intravisit::walk_decl`
[INFO] [stderr]  --> src/loops.rs:6:42
[INFO] [stderr]   |
[INFO] [stderr] 6 | use rustc::hir::intravisit::{walk_block, walk_decl, walk_expr, walk_pat, walk_stmt, NestedVisitorMap, Visitor};
[INFO] [stderr]   |                                          ^^^^^^^^^
[INFO] [stderr]   |                                          |
[INFO] [stderr]   |                                          no `walk_decl` in `hir::intravisit`
[INFO] [stderr]   |                                          help: a similar name exists in the module: `walk_ident`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rustc::hir::map::Node::NodeBlock`, `rustc::hir::map::Node::NodeExpr`, `rustc::hir::map::Node::NodeStmt`
[INFO] [stderr]  --> src/loops.rs:7:29
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rustc::hir::map::Node::{NodeBlock, NodeExpr, NodeStmt};
[INFO] [stderr]   |                             ^^^^^^^^^  ^^^^^^^^  ^^^^^^^^ no `NodeStmt` in `hir::map::Node`
[INFO] [stderr]   |                             |          |
[INFO] [stderr]   |                             |          no `NodeExpr` in `hir::map::Node`
[INFO] [stderr]   |                             no `NodeBlock` in `hir::map::Node`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rustc::hir::ExprCall`, `rustc::hir::ExprPath`
[INFO] [stderr]  --> src/mem_forget.rs:2:24
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rustc::hir::{Expr, ExprCall, ExprPath};
[INFO] [stderr]   |                        ^^^^^^^^  ^^^^^^^^ no `ExprPath` in `hir`
[INFO] [stderr]   |                        |
[INFO] [stderr]   |                        no `ExprCall` in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/methods.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::ExprAddrOf`
[INFO] [stderr]  --> src/needless_borrow.rs:6:43
[INFO] [stderr]   |
[INFO] [stderr] 6 | use rustc::hir::{BindingAnnotation, Expr, ExprAddrOf, MutImmutable, Pat, PatKind};
[INFO] [stderr]   |                                           ^^^^^^^^^^ no `ExprAddrOf` in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::ExprStruct`
[INFO] [stderr]  --> src/needless_update.rs:3:24
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc::hir::{Expr, ExprStruct};
[INFO] [stderr]   |                        ^^^^^^^^^^ no `ExprStruct` in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/no_effect.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rustc::hir::BiAnd`, `rustc::hir::BiOr`, `rustc::hir::Expr_`, `rustc::hir::StmtSemi`
[INFO] [stderr]  --> src/no_effect.rs:3:18
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc::hir::{BiAnd, BiOr, BlockCheckMode, Expr, Expr_, Stmt, StmtSemi, UnsafeSource};
[INFO] [stderr]   |                  ^^^^^  ^^^^                        ^^^^^        ^^^^^^^^ no `StmtSemi` in `hir`
[INFO] [stderr]   |                  |      |                           |
[INFO] [stderr]   |                  |      |                           no `Expr_` in `hir`
[INFO] [stderr]   |                  |      no `BiOr` in `hir`          help: a similar name exists in the module: `Expr`
[INFO] [stderr]   |                  no `BiAnd` in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/non_copy_const.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rustc::hir::ExprLit`, `rustc::hir::ExprMethodCall`
[INFO] [stderr]  --> src/open_options.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use rustc::hir::{Expr, ExprLit, ExprMethodCall};
[INFO] [stderr]   |                        ^^^^^^^  ^^^^^^^^^^^^^^ no `ExprMethodCall` in `hir`
[INFO] [stderr]   |                        |
[INFO] [stderr]   |                        no `ExprLit` in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::map::NodeItem`
[INFO] [stderr]  --> src/ptr.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use rustc::hir::map::NodeItem;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `NodeItem` in `hir::map`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/question_mark.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::def::Def`
[INFO] [stderr]  --> src/replace_consts.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc::hir::def::Def;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::hir::BinOp_`
[INFO] [stderr]   --> src/suspicious_trait_impl.rs:62:25
[INFO] [stderr]    |
[INFO] [stderr] 62 |         use rustc::hir::BinOp_::*;
[INFO] [stderr]    |                         ^^^^^^ could not find `BinOp_` in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rustc::hir::ExprAssign`, `rustc::hir::ExprField`, `rustc::hir::ExprStruct`, `rustc::hir::ExprTup`
[INFO] [stderr]  --> src/temporary_assignment.rs:2:24
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rustc::hir::{Expr, ExprAssign, ExprField, ExprStruct, ExprTup};
[INFO] [stderr]   |                        ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^ no `ExprTup` in `hir`
[INFO] [stderr]   |                        |           |          |
[INFO] [stderr]   |                        |           |          no `ExprStruct` in `hir`
[INFO] [stderr]   |                        |           no `ExprField` in `hir`
[INFO] [stderr]   |                        |           help: a similar name exists in the module: `ExprKind`
[INFO] [stderr]   |                        no `ExprAssign` in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc::ty::TypeVariants`
[INFO] [stderr]  --> src/trivially_copy_pass_by_ref.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rustc::ty::TypeVariants;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `TypeVariants` in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rustc::hir::map::Node::NodeImplItem`, `rustc::hir::map::Node::NodeItem`
[INFO] [stderr]  --> src/write.rs:1:29
[INFO] [stderr]   |
[INFO] [stderr] 1 | use rustc::hir::map::Node::{NodeImplItem, NodeItem};
[INFO] [stderr]   |                             ^^^^^^^^^^^^  ^^^^^^^^ no `NodeItem` in `hir::map::Node`
[INFO] [stderr]   |                             |
[INFO] [stderr]   |                             no `NodeImplItem` in `hir::map::Node`
[INFO] [stderr]   |                             help: a similar name exists in the module: `ImplItem`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/consts.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use syntax::ast::{FloatTy, LitKind};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/consts.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use syntax::ptr::P;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]    --> src/consts.rs:158:9
[INFO] [stderr]     |
[INFO] [stderr] 158 |     use syntax::ast::*;
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_plugin`
[INFO] [stderr]   --> src/lib.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use rustc_plugin;
[INFO] [stderr]    |     ^^^^^^^^^^^^ no `rustc_plugin` external crate
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_errors`
[INFO] [stderr]   --> src/utils/mod.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use rustc_errors::{Applicability, CodeSuggestion, Substitution, SubstitutionPart};
[INFO] [stderr]    |     ^^^^^^^^^^^^ use of undeclared type or module `rustc_errors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/mod.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use syntax::ast::{self, LitKind};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]   --> src/utils/mod.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use syntax::ast::{self, LitKind};
[INFO] [stderr]    |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/mod.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use syntax::codemap::{CompilerDesugaringKind, ExpnFormat, ExpnInfo, Span, DUMMY_SP};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/mod.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use syntax::errors::DiagnosticBuilder;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/mod.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use syntax::ptr::P;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/mod.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use syntax::symbol::keywords;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]   --> src/utils/mod.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use syntax::attr;
[INFO] [stderr]    |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/utils/hir_utils.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::ast::Name;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/utils/hir_utils.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use syntax::ptr::P;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/utils/conf.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::{ast, codemap};
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/sugg.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use syntax::codemap::{CharPos, Span};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/sugg.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use syntax::parse::token;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/sugg.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use syntax::print::pprust::token_to_string;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/sugg.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use syntax::util::parser::AssocOp;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_errors`
[INFO] [stderr]  --> src/utils/sugg.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rustc_errors;
[INFO] [stderr]   |     ^^^^^^^^^^^^ no `rustc_errors` external crate
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]   --> src/utils/sugg.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use syntax::ast;
[INFO] [stderr]    |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/sugg.rs:90:13
[INFO] [stderr]    |
[INFO] [stderr] 90 |         use syntax::ast::RangeLimits;
[INFO] [stderr]    |             ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]    --> src/utils/sugg.rs:363:9
[INFO] [stderr]     |
[INFO] [stderr] 363 |     use syntax::util::parser::AssocOp::*;
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]    --> src/utils/sugg.rs:405:9
[INFO] [stderr]     |
[INFO] [stderr] 405 |     use syntax::ast::BinOpKind::*;
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/utils/inspector.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use syntax::ast::Attribute;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/utils/internal_lints.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::symbol::LocalInternedString;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/utils/internal_lints.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::ast::{Crate as AstCrate, ItemKind, Name, NodeId};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/utils/internal_lints.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/author.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use syntax::ast::{Attribute, LitKind, DUMMY_NODE_ID};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/utils/ptr.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast::Name;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/utils/ptr.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/usage.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use syntax::ast::NodeId;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/utils/usage.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use syntax::codemap::Span;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]   --> src/utils/sugg.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use syntax_pos::{BytePos, Pos};
[INFO] [stderr]    |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/utils/higher.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/approx_const.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast::{FloatTy, Lit, LitKind};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]    --> src/utils/mod.rs:117:9
[INFO] [stderr]     |
[INFO] [stderr] 117 |     use syntax::symbol;
[INFO] [stderr]     |         ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/arithmetic.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/approx_const.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::symbol;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/attrs.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use syntax::ast::{AttrStyle, Attribute, Lit, LitKind, MetaItemKind, NestedMetaItem, NestedMetaItemKind};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/attrs.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use syntax::codemap::Span;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/bit_mask.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use syntax::ast::LitKind;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/bit_mask.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/booleans.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast::{LitKind, NodeId, DUMMY_NODE_ID};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/booleans.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::codemap::{dummy_spanned, Span, DUMMY_SP};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/booleans.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::util::ThinVec;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/bytecount.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast::{Name, UintTy};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/assign_ops.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/const_static_lifetime.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/copies.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::symbol::LocalInternedString;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/copies.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::util::small_vector::SmallVector;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/cyclomatic_complexity.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use syntax::ast::{Attribute, NodeId};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/cyclomatic_complexity.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/derive.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]   --> src/collapsible_if.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use syntax::ast;
[INFO] [stderr]    |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/doc.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::codemap::{BytePos, Span};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/doc.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/double_comparison.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/double_parens.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/duration_subsec.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use syntax::codemap::Spanned;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/else_if_without_else.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/entry.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/enum_clike.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use syntax::ast::{IntTy, UintTy};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/enum_glob_use.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::ast::NodeId;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/enum_glob_use.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/enum_variants.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/erasing_op.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/escape.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use syntax::ast::NodeId;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/escape.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use syntax::codemap::Span;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]  --> src/doc.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax_pos::Pos;
[INFO] [stderr]   |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/excessive_precision.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/eval_order_dependence.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/format.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast::LitKind;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]  --> src/fallible_impl_from.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax_pos::Span;
[INFO] [stderr]   |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]  --> src/format.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax_pos::Span;
[INFO] [stderr]   |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/formatting.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ptr::P;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/formatting.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `rustc_target`
[INFO] [stderr]  --> src/functions.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rustc_target::spec::abi::Abi;
[INFO] [stderr]   |     ^^^^^^^^^^^^ use of undeclared type or module `rustc_target`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/functions.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/identity_conversion.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use syntax::ast::NodeId;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/identity_op.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/if_not_else.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/indexing_slicing.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use syntax::ast::RangeLimits;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/functions.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/inline_fn_without_body.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast::{Attribute, Name};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/int_plus_one.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/items_after_statements.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/len_zero.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::ast::{Lit, LitKind, Name};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/len_zero.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::codemap::{Span, Spanned};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]  --> src/inherent_impl.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax_pos::Span;
[INFO] [stderr]   |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/lifetimes.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/lifetimes.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use syntax::symbol::keywords;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/literal_representation.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/let_if_seq.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/loops.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use syntax::codemap::Span;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]   --> src/loops.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use syntax::ast;
[INFO] [stderr]    |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/map_clone.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/map_unit_fn.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/matches.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::ast::LitKind;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/matches.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_errors`
[INFO] [stderr]  --> src/map_unit_fn.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rustc_errors::{Applicability};
[INFO] [stderr]   |     ^^^^^^^^^^^^ use of undeclared type or module `rustc_errors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/methods.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use syntax::codemap::{Span, BytePos};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/misc.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::codemap::{ExpnFormat, Span};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/misc.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use syntax::ast::{LitKind, CRATE_NODE_ID};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/misc_early.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/methods.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]   --> src/missing_doc.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use syntax::ast;
[INFO] [stderr]    |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/missing_doc.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | use syntax::codemap::Span;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]   --> src/missing_doc.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | use syntax::attr;
[INFO] [stderr]    |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/missing_inline.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use syntax::codemap::Span;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/multiple_crate_versions.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]   --> src/missing_inline.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use syntax::ast;
[INFO] [stderr]    |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/needless_bool.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::ast::LitKind;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/needless_bool.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use syntax::codemap::Spanned;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/mutex_atomic.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/needless_continue.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | use syntax::codemap::{original_sp, DUMMY_SP};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `rustc_target`
[INFO] [stderr]  --> src/needless_pass_by_value.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use rustc_target::spec::abi::Abi;
[INFO] [stderr]   |     ^^^^^^^^^^^^ use of undeclared type or module `rustc_target`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/needless_pass_by_value.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use syntax::ast::NodeId;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]   --> src/needless_continue.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | use syntax::ast;
[INFO] [stderr]    |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/needless_pass_by_value.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use syntax::errors::DiagnosticBuilder;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/neg_multiply.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use syntax::codemap::{Span, Spanned};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/new_without_default.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]   --> src/needless_pass_by_value.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use syntax_pos::Span;
[INFO] [stderr]    |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_errors`
[INFO] [stderr]   --> src/non_copy_const.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use rustc_errors::Applicability;
[INFO] [stderr]    |     ^^^^^^^^^^^^ use of undeclared type or module `rustc_errors`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_typeck`
[INFO] [stderr]   --> src/non_copy_const.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use rustc_typeck::hir_ty_to_ty;
[INFO] [stderr]    |     ^^^^^^^^^^^^ use of undeclared type or module `rustc_typeck`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/non_expressive_names.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/open_options.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use syntax::ast::LitKind;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/open_options.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::codemap::{Span, Spanned};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/panic_unimplemented.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use syntax::ast::LitKind;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/panic_unimplemented.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ptr::P;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/panic_unimplemented.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ext::quote::rt::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/precedence.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/ptr.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use syntax::ast::NodeId;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/ptr.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use syntax::codemap::Span;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]   --> src/non_copy_const.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use syntax_pos::{DUMMY_SP, Span};
[INFO] [stderr]    |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/question_mark.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ptr::P;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/ranges.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use syntax::ast::RangeLimits;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/ranges.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::codemap::Spanned;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/reference.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use syntax::ast::{Expr, ExprKind, UnOp};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/regex.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast::{LitKind, NodeId, StrStyle};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/regex.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::codemap::{BytePos, Span};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]   --> src/ptr.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use syntax_pos::MultiSpan;
[INFO] [stderr]    |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/returns.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/returns.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::visit::FnKind;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/shadow.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/strings.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use syntax::codemap::Spanned;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]    --> src/strings.rs:148:13
[INFO] [stderr]     |
[INFO] [stderr] 148 |         use syntax::ast::LitKind;
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/returns.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/suspicious_trait_impl.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `rustc_target`
[INFO] [stderr]  --> src/trivially_copy_pass_by_ref.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use rustc_target::spec::abi::Abi;
[INFO] [stderr]   |     ^^^^^^^^^^^^ use of undeclared type or module `rustc_target`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `rustc_target`
[INFO] [stderr]   --> src/trivially_copy_pass_by_ref.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use rustc_target::abi::LayoutOf;
[INFO] [stderr]    |     ^^^^^^^^^^^^ use of undeclared type or module `rustc_target`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/trivially_copy_pass_by_ref.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use syntax::ast::NodeId;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/transmute.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]   --> src/trivially_copy_pass_by_ref.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use syntax_pos::Span;
[INFO] [stderr]    |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/types.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use syntax::ast::{FloatTy, IntTy, UintTy};
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/types.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use syntax::codemap::Span;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]   --> src/types.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use syntax::errors::DiagnosticBuilder;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax_pos`
[INFO] [stderr]    --> src/types.rs:541:9
[INFO] [stderr]     |
[INFO] [stderr] 541 |     use syntax_pos::hygiene::CompilerDesugaringKind;
[INFO] [stderr]     |         ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]    --> src/types.rs:957:21
[INFO] [stderr]     |
[INFO] [stderr] 957 |                 use syntax::ast::{LitIntType, LitKind};
[INFO] [stderr]     |                     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]     --> src/types.rs:1290:13
[INFO] [stderr]      |
[INFO] [stderr] 1290 |         use syntax::ast::{LitKind, UintTy};
[INFO] [stderr]      |             ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]     --> src/types.rs:1564:9
[INFO] [stderr]      |
[INFO] [stderr] 1564 |     use syntax::ast::{IntTy, UintTy};
[INFO] [stderr]      |         ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustc_typeck`
[INFO] [stderr]  --> src/types.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rustc_typeck::hir_ty_to_ty;
[INFO] [stderr]   |     ^^^^^^^^^^^^ use of undeclared type or module `rustc_typeck`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/unicode.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use syntax::ast::{LitKind, NodeId};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/unicode.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/unsafe_removed_from_name.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use syntax::ast::*;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]     --> src/types.rs:1747:13
[INFO] [stderr]      |
[INFO] [stderr] 1747 |         use syntax_pos::BytePos;
[INFO] [stderr]      |             ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/unused_label.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/unused_label.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::symbol::LocalInternedString;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/unwrap.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::ast::NodeId;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/unwrap.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/use_self.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast::NodeId;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax_pos`
[INFO] [stderr]  --> src/use_self.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax_pos::symbol::keywords::SelfType;
[INFO] [stderr]   |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/vec.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use syntax::codemap::Span;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/write.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast::LitKind;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/unused_label.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use syntax::ast;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]  --> src/write.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use syntax::symbol::LocalInternedString;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax`
[INFO] [stderr]  --> src/write.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use syntax::ptr;
[INFO] [stderr]   |     ^^^^^^ help: a similar path exists: `rustc::syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax`
[INFO] [stderr]    --> src/lib.rs:189:15
[INFO] [stderr]     |
[INFO] [stderr] 189 |     crate use syntax::ast::{Name, NodeId};
[INFO] [stderr]     |               ^^^^^^ use of undeclared type or module `syntax`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `syntax_pos`
[INFO] [stderr]  --> src/write.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use syntax_pos::Span;
[INFO] [stderr]   |     ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `item_path` in `ty`
[INFO] [stderr]    --> src/utils/mod.rs:123:14
[INFO] [stderr]     |
[INFO] [stderr] 123 |     impl ty::item_path::ItemPathBuffer for AbsolutePathBuffer {
[INFO] [stderr]     |              ^^^^^^^^^ could not find `item_path` in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `item_path` in `ty`
[INFO] [stderr]    --> src/utils/mod.rs:124:37
[INFO] [stderr]     |
[INFO] [stderr] 124 |         fn root_mode(&self) -> &ty::item_path::RootMode {
[INFO] [stderr]     |                                     ^^^^^^^^^ could not find `item_path` in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `item_path` in `ty`
[INFO] [stderr]    --> src/utils/mod.rs:125:34
[INFO] [stderr]     |
[INFO] [stderr] 125 |             const ABSOLUTE: &ty::item_path::RootMode = &ty::item_path::RootMode::Absolute;
[INFO] [stderr]     |                                  ^^^^^^^^^ could not find `item_path` in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `item_path` in `ty`
[INFO] [stderr]    --> src/utils/mod.rs:125:61
[INFO] [stderr]     |
[INFO] [stderr] 125 |             const ABSOLUTE: &ty::item_path::RootMode = &ty::item_path::RootMode::Absolute;
[INFO] [stderr]     |                                                             ^^^^^^^^^ could not find `item_path` in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `syntax_pos`
[INFO] [stderr]    --> src/literal_representation.rs:230:75
[INFO] [stderr]     |
[INFO] [stderr] 230 |     crate fn display(&self, grouping_hint: &str, cx: &EarlyContext, span: syntax_pos::Span) {
[INFO] [stderr]     |                                                                           ^^^^^^^^^^ use of undeclared type or module `syntax_pos`
[INFO] [stderr] 
[INFO] [stderr] error[E0407]: method `visit_decl` is not a member of trait `Visitor`
[INFO] [stderr]     --> src/loops.rs:1932:5
[INFO] [stderr]      |
[INFO] [stderr] 1932 | /     fn visit_decl(&mut self, decl: &'tcx Decl) {
[INFO] [stderr] 1933 | |         // Look for declarations of the variable
[INFO] [stderr] 1934 | |         if let DeclLocal(ref local) = decl.node {
[INFO] [stderr] 1935 | |             if local.pat.id == self.var_id {
[INFO] [stderr] ...    |
[INFO] [stderr] 1951 | |         walk_decl(self, decl);
[INFO] [stderr] 1952 | |     }
[INFO] [stderr]      | |_____^ not a member of trait `Visitor`
[INFO] [stderr] 
[INFO] [stderr] error[E0407]: method `check_decl` is not a member of trait `LateLintPass`
[INFO] [stderr]    --> src/types.rs:408:5
[INFO] [stderr]     |
[INFO] [stderr] 408 | /     fn check_decl(&mut self, cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl) {
[INFO] [stderr] 409 | |         check_let_unit(cx, decl)
[INFO] [stderr] 410 | |     }
[INFO] [stderr]     | |_____^ not a member of trait `LateLintPass`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FloatTy` in this scope
[INFO] [stderr]   --> src/consts.rs:25:11
[INFO] [stderr]    |
[INFO] [stderr] 25 | impl From<FloatTy> for FloatWidth {
[INFO] [stderr]    |           ^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  | use rustc::ty::layout::FloatTy;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FloatTy` in this scope
[INFO] [stderr]   --> src/consts.rs:26:17
[INFO] [stderr]    |
[INFO] [stderr] 26 |     fn from(ty: FloatTy) -> Self {
[INFO] [stderr]    |                 ^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  | use rustc::ty::layout::FloatTy;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TypeVariants` in module `ty`
[INFO] [stderr]    --> src/consts.rs:125:52
[INFO] [stderr]     |
[INFO] [stderr] 125 |     pub fn partial_cmp(tcx: TyCtxt, cmp_type: &ty::TypeVariants, left: &Self, right: &Self) -> Option<Ordering> {
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^ not found in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LitKind` in this scope
[INFO] [stderr]    --> src/consts.rs:157:36
[INFO] [stderr]     |
[INFO] [stderr] 157 | pub fn lit_to_constant<'tcx>(lit: &LitKind, ty: Ty<'tcx>) -> Constant {
[INFO] [stderr]     |                                    ^^^^^^^ help: an enum with a similar name exists: `PatKind`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `P` in this scope
[INFO] [stderr]    --> src/consts.rs:320:50
[INFO] [stderr]     |
[INFO] [stderr] 320 |     fn ifthenelse(&mut self, cond: &Expr, then: &P<Expr>, otherwise: &Option<P<Expr>>) -> Option<Constant> {
[INFO] [stderr]     |                                                  ^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 4   | use rustc::hir::ptr::P;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `P` in this scope
[INFO] [stderr]    --> src/consts.rs:320:78
[INFO] [stderr]     |
[INFO] [stderr] 320 |     fn ifthenelse(&mut self, cond: &Expr, then: &P<Expr>, otherwise: &Option<P<Expr>>) -> Option<Constant> {
[INFO] [stderr]     |                                                                              ^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 4   | use rustc::hir::ptr::P;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `P` in this scope
[INFO] [stderr]    --> src/utils/hir_utils.rs:147:35
[INFO] [stderr]     |
[INFO] [stderr] 147 |     fn eq_exprs(&mut self, left: &P<[Expr]>, right: &P<[Expr]>) -> bool {
[INFO] [stderr]     |                                   ^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::ptr::P;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `P` in this scope
[INFO] [stderr]    --> src/utils/hir_utils.rs:147:54
[INFO] [stderr]     |
[INFO] [stderr] 147 |     fn eq_exprs(&mut self, left: &P<[Expr]>, right: &P<[Expr]>) -> bool {
[INFO] [stderr]     |                                                      ^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::ptr::P;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope
[INFO] [stderr]    --> src/utils/hir_utils.rs:275:26
[INFO] [stderr]     |
[INFO] [stderr] 275 | fn swap_binop<'a>(binop: BinOp_, lhs: &'a Expr, rhs: &'a Expr) -> Option<(BinOp_, &'a Expr, &'a Expr)> {
[INFO] [stderr]     |                          ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope
[INFO] [stderr]    --> src/utils/hir_utils.rs:275:75
[INFO] [stderr]     |
[INFO] [stderr] 275 | fn swap_binop<'a>(binop: BinOp_, lhs: &'a Expr, rhs: &'a Expr) -> Option<(BinOp_, &'a Expr, &'a Expr)> {
[INFO] [stderr]     |                                                                           ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `P` in this scope
[INFO] [stderr]    --> src/utils/hir_utils.rs:557:38
[INFO] [stderr]     |
[INFO] [stderr] 557 |     pub fn hash_exprs(&mut self, e: &P<[Expr]>) {
[INFO] [stderr]     |                                      ^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::ptr::P;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/utils/hir_utils.rs:563:36
[INFO] [stderr]     |
[INFO] [stderr] 563 |     pub fn hash_name(&mut self, n: Name) {
[INFO] [stderr]     |                                    ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 563 |     pub fn hash_name(&mut self, n: rustc::hir::print::AnnNode) {
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AssocOp` in this scope
[INFO] [stderr]   --> src/utils/sugg.rs:28:11
[INFO] [stderr]    |
[INFO] [stderr] 28 |     BinOp(AssocOp, Cow<'a, str>),
[INFO] [stderr]    |           ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AssocOp` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:266:23
[INFO] [stderr]     |
[INFO] [stderr] 266 | pub fn make_assoc(op: AssocOp, lhs: &Sugg, rhs: &Sugg) -> Sugg<'static> {
[INFO] [stderr]     |                       ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AssocOp` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:268:22
[INFO] [stderr]     |
[INFO] [stderr] 268 |     fn is_shift(op: &AssocOp) -> bool {
[INFO] [stderr]     |                      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AssocOp` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:273:22
[INFO] [stderr]     |
[INFO] [stderr] 273 |     fn is_arith(op: &AssocOp) -> bool {
[INFO] [stderr]     |                      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AssocOp` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:283:25
[INFO] [stderr]     |
[INFO] [stderr] 283 |     fn needs_paren(op: &AssocOp, other: &AssocOp, dir: Associativity) -> bool {
[INFO] [stderr]     |                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AssocOp` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:283:42
[INFO] [stderr]     |
[INFO] [stderr] 283 |     fn needs_paren(op: &AssocOp, other: &AssocOp, dir: Associativity) -> bool {
[INFO] [stderr]     |                                          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AssocOp` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:362:23
[INFO] [stderr]     |
[INFO] [stderr] 362 | fn associativity(op: &AssocOp) -> Associativity {
[INFO] [stderr]     |                       ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AssocOp` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:384:41
[INFO] [stderr]     |
[INFO] [stderr] 384 | fn hirbinop2assignop(op: hir::BinOp) -> AssocOp {
[INFO] [stderr]     |                                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AssocOp` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:404:41
[INFO] [stderr]     |
[INFO] [stderr] 404 | fn astbinop2assignop(op: ast::BinOp) -> AssocOp {
[INFO] [stderr]     |                                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:425:54
[INFO] [stderr]     |
[INFO] [stderr] 425 | fn indentation<'a, T: LintContext<'a>>(cx: &T, span: Span) -> Option<String> {
[INFO] [stderr]     |                                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 6   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:456:77
[INFO] [stderr]     |
[INFO] [stderr] 456 |     fn suggest_item_with_attr<D: Display + ?Sized>(&mut self, cx: &T, item: Span, msg: &str, attr: &D);
[INFO] [stderr]     |                                                                             ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 6   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:470:54
[INFO] [stderr]     |
[INFO] [stderr] 470 |     fn suggest_prepend_item(&mut self, cx: &T, item: Span, msg: &str, new_item: &str);
[INFO] [stderr]     |                                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 6   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:483:53
[INFO] [stderr]     |
[INFO] [stderr] 483 |     fn suggest_remove_item(&mut self, cx: &T, item: Span, msg: &str);
[INFO] [stderr]     |                                                     ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 6   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:487:77
[INFO] [stderr]     |
[INFO] [stderr] 487 |     fn suggest_item_with_attr<D: Display + ?Sized>(&mut self, cx: &T, item: Span, msg: &str, attr: &D) {
[INFO] [stderr]     |                                                                             ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 6   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:495:54
[INFO] [stderr]     |
[INFO] [stderr] 495 |     fn suggest_prepend_item(&mut self, cx: &T, item: Span, msg: &str, new_item: &str) {
[INFO] [stderr]     |                                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 6   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/sugg.rs:516:53
[INFO] [stderr]     |
[INFO] [stderr] 516 |     fn suggest_remove_item(&mut self, cx: &T, item: Span, msg: &str) {
[INFO] [stderr]     |                                                     ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 6   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Attribute` in this scope
[INFO] [stderr]    --> src/utils/inspector.rs:138:22
[INFO] [stderr]     |
[INFO] [stderr] 138 | fn has_attr(attrs: &[Attribute]) -> bool {
[INFO] [stderr]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Decl` in module `hir`
[INFO] [stderr]    --> src/utils/inspector.rs:142:45
[INFO] [stderr]     |
[INFO] [stderr] 142 | fn print_decl(cx: &LateContext, decl: &hir::Decl) {
[INFO] [stderr]     |                                             ^^^^ not found in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AstCrate` in this scope
[INFO] [stderr]   --> src/utils/internal_lints.rs:65:58
[INFO] [stderr]    |
[INFO] [stderr] 65 |     fn check_crate(&mut self, cx: &EarlyContext, krate: &AstCrate) {
[INFO] [stderr]    |                                                          ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/utils/internal_lints.rs:106:29
[INFO] [stderr]     |
[INFO] [stderr] 106 |     declared_lints: HashMap<Name, Span>,
[INFO] [stderr]     |                             ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 106 |     declared_lints: HashMap<rustc::hir::print::AnnNode, Span>,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/internal_lints.rs:106:35
[INFO] [stderr]     |
[INFO] [stderr] 106 |     declared_lints: HashMap<Name, Span>,
[INFO] [stderr]     |                                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/utils/internal_lints.rs:107:31
[INFO] [stderr]     |
[INFO] [stderr] 107 |     registered_lints: HashSet<Name>,
[INFO] [stderr]     |                               ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 107 |     registered_lints: HashSet<rustc::hir::print::AnnNode>,
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/utils/internal_lints.rs:188:29
[INFO] [stderr]     |
[INFO] [stderr] 188 |     output: &'a mut HashSet<Name>,
[INFO] [stderr]     |                             ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 188 |     output: &'a mut HashSet<rustc::hir::print::AnnNode>,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/utils/internal_lints.rs:197:51
[INFO] [stderr]     |
[INFO] [stderr] 197 |     fn visit_path(&mut self, path: &'tcx Path, _: NodeId) {
[INFO] [stderr]     |                                                   ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Attribute` in this scope
[INFO] [stderr]    --> src/utils/author.rs:644:22
[INFO] [stderr]     |
[INFO] [stderr] 644 | fn has_attr(attrs: &[Attribute]) -> bool {
[INFO] [stderr]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/ptr.rs:14:18
[INFO] [stderr]    |
[INFO] [stderr] 14 | ) -> Option<Vec<(Span, Cow<'static, str>)>> {
[INFO] [stderr]    |                  ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]   --> src/utils/ptr.rs:25:11
[INFO] [stderr]    |
[INFO] [stderr] 25 |     name: Name,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 25 |     name: rustc::hir::print::AnnNode,
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/ptr.rs:28:18
[INFO] [stderr]    |
[INFO] [stderr] 28 | ) -> Option<Vec<(Span, Cow<'static, str>)>> {
[INFO] [stderr]    |                  ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]   --> src/utils/ptr.rs:46:11
[INFO] [stderr]    |
[INFO] [stderr] 46 |     name: Name,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 46 |     name: rustc::hir::print::AnnNode,
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/ptr.rs:48:17
[INFO] [stderr]    |
[INFO] [stderr] 48 |     spans: Vec<(Span, Cow<'static, str>)>,
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]   --> src/utils/ptr.rs:81:42
[INFO] [stderr]    |
[INFO] [stderr] 81 | fn get_binding_name(arg: &Arg) -> Option<Name> {
[INFO] [stderr]    |                                          ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 81 | fn get_binding_name(arg: &Arg) -> Option<rustc::hir::print::AnnNode> {
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/utils/usage.rs:14:107
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub fn mutated_variables<'a, 'tcx: 'a>(expr: &'tcx Expr, cx: &'a LateContext<'a, 'tcx>) -> Option<HashSet<NodeId>> {
[INFO] [stderr]    |                                                                                                           ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/utils/usage.rs:42:27
[INFO] [stderr]    |
[INFO] [stderr] 42 |     used_mutably: HashSet<NodeId>,
[INFO] [stderr]    |                           ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/utils/usage.rs:65:30
[INFO] [stderr]    |
[INFO] [stderr] 65 |     fn consume(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: ConsumeMode) {}
[INFO] [stderr]    |                              ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/usage.rs:65:41
[INFO] [stderr]    |
[INFO] [stderr] 65 |     fn consume(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: ConsumeMode) {}
[INFO] [stderr]    |                                         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/utils/usage.rs:71:29
[INFO] [stderr]    |
[INFO] [stderr] 71 |     fn borrow(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: ty::Region, bk: ty::BorrowKind, _: LoanCause) {
[INFO] [stderr]    |                             ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/usage.rs:71:40
[INFO] [stderr]    |
[INFO] [stderr] 71 |     fn borrow(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: ty::Region, bk: ty::BorrowKind, _: LoanCause) {
[INFO] [stderr]    |                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/utils/usage.rs:77:29
[INFO] [stderr]    |
[INFO] [stderr] 77 |     fn mutate(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: MutateMode) {
[INFO] [stderr]    |                             ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/usage.rs:77:40
[INFO] [stderr]    |
[INFO] [stderr] 77 |     fn mutate(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: MutateMode) {
[INFO] [stderr]    |                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/utils/usage.rs:81:40
[INFO] [stderr]    |
[INFO] [stderr] 81 |     fn decl_without_init(&mut self, _: NodeId, _: Span) {}
[INFO] [stderr]    |                                        ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/usage.rs:81:51
[INFO] [stderr]    |
[INFO] [stderr] 81 |     fn decl_without_init(&mut self, _: NodeId, _: Span) {}
[INFO] [stderr]    |                                                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `P` in this scope
[INFO] [stderr]   --> src/utils/mod.rs:38:30
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub type MethodArgs = HirVec<P<Expr>>;
[INFO] [stderr]    |                              ^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::ptr::P;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in module `hir`
[INFO] [stderr]   --> src/utils/higher.rs:12:23
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn binop(op: hir::BinOp_) -> ast::BinOpKind {
[INFO] [stderr]    |                       ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Decl` in module `hir`
[INFO] [stderr]    --> src/utils/higher.rs:148:40
[INFO] [stderr]     |
[INFO] [stderr] 148 | pub fn is_from_for_desugar(decl: &hir::Decl) -> bool {
[INFO] [stderr]     |                                        ^^^^ not found in `hir`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/mod.rs:45:38
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub fn differing_macro_contexts(lhs: Span, rhs: Span) -> bool {
[INFO] [stderr]    |                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/mod.rs:45:49
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub fn differing_macro_contexts(lhs: Span, rhs: Span) -> bool {
[INFO] [stderr]    |                                                 ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/utils/mod.rs:49:42
[INFO] [stderr]    |
[INFO] [stderr] 49 | pub fn in_constant(cx: &LateContext, id: NodeId) -> bool {
[INFO] [stderr]    |                                          ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/mod.rs:58:23
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub fn in_macro(span: Span) -> bool {
[INFO] [stderr]    |                       ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/mod.rs:69:34
[INFO] [stderr]    |
[INFO] [stderr] 69 | pub fn is_range_expression(span: Span) -> bool {
[INFO] [stderr]    |                                  ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/utils/mod.rs:81:64
[INFO] [stderr]    |
[INFO] [stderr] 81 | pub fn in_external_macro<'a, T: LintContext<'a>>(cx: &T, span: Span) -> bool {
[INFO] [stderr]    |                                                                ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ExpnInfo` in this scope
[INFO] [stderr]   --> src/utils/mod.rs:85:60
[INFO] [stderr]    |
[INFO] [stderr] 85 |     fn in_macro_ext<'a, T: LintContext<'a>>(cx: &T, info: &ExpnInfo) -> bool {
[INFO] [stderr]    |                                                            ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:176:36
[INFO] [stderr]     |
[INFO] [stderr] 176 | pub fn match_var(expr: &Expr, var: Name) -> bool {
[INFO] [stderr]     |                                    ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 176 | pub fn match_var(expr: &Expr, var: rustc::hir::print::AnnNode) -> bool {
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Def` in module `def`
[INFO] [stderr]    --> src/utils/mod.rs:245:68
[INFO] [stderr]     |
[INFO] [stderr] 245 | pub fn path_to_def(cx: &LateContext, path: &[&str]) -> Option<def::Def> {
[INFO] [stderr]     |                                                                    ^^^ not found in `def`
[INFO] [stderr] help: there is an enum variant `rustc::hir::TyKind::Def` and 1 other; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 245 | pub fn path_to_def(cx: &LateContext, path: &[&str]) -> Option<rustc::hir::TyKind> {
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 245 | pub fn path_to_def(cx: &LateContext, path: &[&str]) -> Option<rustc::hir::def::Res> {
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Def` in module `def`
[INFO] [stderr]    --> src/utils/mod.rs:318:73
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub fn resolve_node(cx: &LateContext, qpath: &QPath, id: HirId) -> def::Def {
[INFO] [stderr]     |                                                                         ^^^ not found in `def`
[INFO] [stderr] help: there is an enum variant `rustc::hir::TyKind::Def` and 1 other; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub fn resolve_node(cx: &LateContext, qpath: &QPath, id: HirId) -> rustc::hir::TyKind {
[INFO] [stderr]     |                                                                    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 318 | pub fn resolve_node(cx: &LateContext, qpath: &QPath, id: HirId) -> rustc::hir::def::Res {
[INFO] [stderr]     |                                                                    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:353:63
[INFO] [stderr]     |
[INFO] [stderr] 353 | pub fn get_item_name(cx: &LateContext, expr: &Expr) -> Option<Name> {
[INFO] [stderr]     |                                                               ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 353 | pub fn get_item_name(cx: &LateContext, expr: &Expr) -> Option<rustc::hir::print::AnnNode> {
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:364:42
[INFO] [stderr]     |
[INFO] [stderr] 364 | pub fn get_pat_name(pat: &Pat) -> Option<Name> {
[INFO] [stderr]     |                                          ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 364 | pub fn get_pat_name(pat: &Pat) -> Option<rustc::hir::print::AnnNode> {
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:374:11
[INFO] [stderr]     |
[INFO] [stderr] 374 |     name: Name,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 374 |     name: rustc::hir::print::AnnNode,
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:379:33
[INFO] [stderr]     |
[INFO] [stderr] 379 |     fn visit_name(&mut self, _: Span, name: Name) {
[INFO] [stderr]     |                                 ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:379:45
[INFO] [stderr]     |
[INFO] [stderr] 379 |     fn visit_name(&mut self, _: Span, name: Name) {
[INFO] [stderr]     |                                             ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 379 |     fn visit_name(&mut self, _: Span, name: rustc::hir::print::AnnNode) {
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:390:28
[INFO] [stderr]     |
[INFO] [stderr] 390 | pub fn contains_name(name: Name, expr: &Expr) -> bool {
[INFO] [stderr]     |                            ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 390 | pub fn contains_name(name: rustc::hir::print::AnnNode, expr: &Expr) -> bool {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:406:58
[INFO] [stderr]     |
[INFO] [stderr] 406 | pub fn snippet<'a, 'b, T: LintContext<'b>>(cx: &T, span: Span, default: &'a str) -> Cow<'a, str> {
[INFO] [stderr]     |                                                          ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:411:58
[INFO] [stderr]     |
[INFO] [stderr] 411 | pub fn snippet_opt<'a, T: LintContext<'a>>(cx: &T, span: Span) -> Option<String> {
[INFO] [stderr]     |                                                          ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:425:64
[INFO] [stderr]     |
[INFO] [stderr] 425 | pub fn snippet_block<'a, 'b, T: LintContext<'b>>(cx: &T, span: Span, default: &'a str) -> Cow<'a, str> {
[INFO] [stderr]     |                                                                ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:431:64
[INFO] [stderr]     |
[INFO] [stderr] 431 | pub fn last_line_of_span<'a, T: LintContext<'a>>(cx: &T, span: Span) -> Span {
[INFO] [stderr]     |                                                                ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:431:73
[INFO] [stderr]     |
[INFO] [stderr] 431 | pub fn last_line_of_span<'a, T: LintContext<'a>>(cx: &T, span: Span) -> Span {
[INFO] [stderr]     |                                                                         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:519:76
[INFO] [stderr]     |
[INFO] [stderr] 519 | pub fn get_enclosing_block<'a, 'tcx: 'a>(cx: &LateContext<'a, 'tcx>, node: NodeId) -> Option<&'tcx Block> {
[INFO] [stderr]     |                                                                            ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DiagnosticBuilder` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:543:38
[INFO] [stderr]     |
[INFO] [stderr] 543 | pub struct DiagnosticWrapper<'a>(pub DiagnosticBuilder<'a>);
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DiagnosticWrapper`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:563:75
[INFO] [stderr]     |
[INFO] [stderr] 563 | pub fn span_lint<'a, T: LintContext<'a>>(cx: &T, lint: &'static Lint, sp: Span, msg: &str) {
[INFO] [stderr]     |                                                                           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:570:11
[INFO] [stderr]     |
[INFO] [stderr] 570 |     span: Span,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:582:11
[INFO] [stderr]     |
[INFO] [stderr] 582 |     span: Span,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:584:16
[INFO] [stderr]     |
[INFO] [stderr] 584 |     note_span: Span,
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DiagnosticBuilder` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:603:28
[INFO] [stderr]     |
[INFO] [stderr] 603 |     F: for<'b> FnOnce(&mut DiagnosticBuilder<'b>),
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DiagnosticWrapper`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:599:9
[INFO] [stderr]     |
[INFO] [stderr] 599 |     sp: Span,
[INFO] [stderr]     |         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:627:9
[INFO] [stderr]     |
[INFO] [stderr] 627 |     sp: Span,
[INFO] [stderr]     |         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:645:29
[INFO] [stderr]     |
[INFO] [stderr] 645 |     I: IntoIterator<Item = (Span, String)>,
[INFO] [stderr]     |                             ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DiagnosticBuilder` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:643:35
[INFO] [stderr]     |
[INFO] [stderr] 643 | pub fn multispan_sugg<I>(db: &mut DiagnosticBuilder, help_msg: String, sugg: I)
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DiagnosticWrapper`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:766:29
[INFO] [stderr]     |
[INFO] [stderr] 766 | pub fn is_expn_of(mut span: Span, name: &str) -> Option<Span> {
[INFO] [stderr]     |                             ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:766:57
[INFO] [stderr]     |
[INFO] [stderr] 766 | pub fn is_expn_of(mut span: Span, name: &str) -> Option<Span> {
[INFO] [stderr]     |                                                         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:790:32
[INFO] [stderr]     |
[INFO] [stderr] 790 | pub fn is_direct_expn_of(span: Span, name: &str) -> Option<Span> {
[INFO] [stderr]     |                                ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:790:60
[INFO] [stderr]     |
[INFO] [stderr] 790 | pub fn is_direct_expn_of(span: Span, name: &str) -> Option<Span> {
[INFO] [stderr]     |                                                            ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/utils/mod.rs:866:65
[INFO] [stderr]     |
[INFO] [stderr] 866 | pub fn return_ty<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, fn_item: NodeId) -> Ty<'tcx> {
[INFO] [stderr]     |                                                                 ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/utils/mod.rs:1065:62
[INFO] [stderr]      |
[INFO] [stderr] 1065 | pub fn is_allowed(cx: &LateContext, lint: &'static Lint, id: NodeId) -> bool {
[INFO] [stderr]      |                                                              ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/utils/mod.rs:1141:63
[INFO] [stderr]      |
[INFO] [stderr] 1141 | pub fn any_parent_is_automatically_derived(tcx: TyCtxt, node: NodeId) -> bool {
[INFO] [stderr]      |                                                               ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/arithmetic.rs:43:18
[INFO] [stderr]    |
[INFO] [stderr] 43 |     span: Option<Span>,
[INFO] [stderr]    |                  ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in module `hir`
[INFO] [stderr]    --> src/assign_ops.rs:247:28
[INFO] [stderr]     |
[INFO] [stderr] 247 | fn is_commutative(op: hir::BinOp_) -> bool {
[INFO] [stderr]     |                            ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Attribute` in this scope
[INFO] [stderr]    --> src/attrs.rs:134:75
[INFO] [stderr]     |
[INFO] [stderr] 134 |     fn check_attribute(&mut self, cx: &LateContext<'a, 'tcx>, attr: &'tcx Attribute) {
[INFO] [stderr]     |                                                                           ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/attrs.rs:263:40
[INFO] [stderr]     |
[INFO] [stderr] 263 | fn check_attrs(cx: &LateContext, span: Span, name: Name, attrs: &[Attribute]) {
[INFO] [stderr]     |                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/attrs.rs:263:52
[INFO] [stderr]     |
[INFO] [stderr] 263 | fn check_attrs(cx: &LateContext, span: Span, name: Name, attrs: &[Attribute]) {
[INFO] [stderr]     |                                                    ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 263 | fn check_attrs(cx: &LateContext, span: Span, name: rustc::hir::print::AnnNode, attrs: &[Attribute]) {
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Attribute` in this scope
[INFO] [stderr]    --> src/attrs.rs:263:67
[INFO] [stderr]     |
[INFO] [stderr] 263 | fn check_attrs(cx: &LateContext, span: Span, name: Name, attrs: &[Attribute]) {
[INFO] [stderr]     |                                                                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/attrs.rs:314:41
[INFO] [stderr]     |
[INFO] [stderr] 314 | fn check_semver(cx: &LateContext, span: Span, lit: &Lit) {
[INFO] [stderr]     |                                         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NestedMetaItem` in this scope
[INFO] [stderr]    --> src/attrs.rs:328:18
[INFO] [stderr]     |
[INFO] [stderr] 328 | fn is_word(nmi: &NestedMetaItem, expected: &str) -> bool {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/attrs.rs:341:49
[INFO] [stderr]     |
[INFO] [stderr] 341 | fn is_present_in_source(cx: &LateContext, span: Span) -> bool {
[INFO] [stderr]     |                                                 ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope
[INFO] [stderr]    --> src/bit_mask.rs:146:20
[INFO] [stderr]     |
[INFO] [stderr] 146 | fn invert_cmp(cmp: BinOp_) -> BinOp_ {
[INFO] [stderr]     |                    ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope
[INFO] [stderr]    --> src/bit_mask.rs:146:31
[INFO] [stderr]     |
[INFO] [stderr] 146 | fn invert_cmp(cmp: BinOp_) -> BinOp_ {
[INFO] [stderr]     |                               ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope
[INFO] [stderr]    --> src/bit_mask.rs:159:59
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn check_compare(cx: &LateContext, bit_op: &Expr, cmp_op: BinOp_, cmp_value: u128, span: Span) {
[INFO] [stderr]     |                                                           ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/bit_mask.rs:159:90
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn check_compare(cx: &LateContext, bit_op: &Expr, cmp_op: BinOp_, cmp_value: u128, span: Span) {
[INFO] [stderr]     |                                                                                          ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope
[INFO] [stderr]    --> src/bit_mask.rs:170:45
[INFO] [stderr]     |
[INFO] [stderr] 170 | fn check_bit_mask(cx: &LateContext, bit_op: BinOp_, cmp_op: BinOp_, mask_value: u128, cmp_value: u128, span: Span) {
[INFO] [stderr]     |                                             ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope
[INFO] [stderr]    --> src/bit_mask.rs:170:61
[INFO] [stderr]     |
[INFO] [stderr] 170 | fn check_bit_mask(cx: &LateContext, bit_op: BinOp_, cmp_op: BinOp_, mask_value: u128, cmp_value: u128, span: Span) {
[INFO] [stderr]     |                                                             ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/bit_mask.rs:170:110
[INFO] [stderr]     |
[INFO] [stderr] 170 | fn check_bit_mask(cx: &LateContext, bit_op: BinOp_, cmp_op: BinOp_, mask_value: u128, cmp_value: u128, span: Span) {
[INFO] [stderr]     |                                                                                                              ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/bit_mask.rs:271:49
[INFO] [stderr]     |
[INFO] [stderr] 271 | fn check_ineffective_lt(cx: &LateContext, span: Span, m: u128, c: u128, op: &str) {
[INFO] [stderr]     |                                                 ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/bit_mask.rs:287:49
[INFO] [stderr]     |
[INFO] [stderr] 287 | fn check_ineffective_gt(cx: &LateContext, span: Span, m: u128, c: u128, op: &str) {
[INFO] [stderr]     |                                                 ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/booleans.rs:69:12
[INFO] [stderr]    |
[INFO] [stderr] 69 |         _: Span,
[INFO] [stderr]    |            ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/booleans.rs:70:12
[INFO] [stderr]    |
[INFO] [stderr] 70 |         _: NodeId,
[INFO] [stderr]    |            ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope
[INFO] [stderr]   --> src/booleans.rs:87:31
[INFO] [stderr]    |
[INFO] [stderr] 87 |     fn extract(&mut self, op: BinOp_, a: &[&'v Expr], mut v: Vec<Bool>) -> Result<Vec<Bool>, String> {
[INFO] [stderr]    |                               ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]   --> src/bytecount.rs:95:20
[INFO] [stderr]    |
[INFO] [stderr] 95 | fn check_arg(name: Name, arg: Name, needle: &Expr) -> bool {
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 95 | fn check_arg(name: rustc::hir::print::AnnNode, arg: Name, needle: &Expr) -> bool {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]   --> src/bytecount.rs:95:31
[INFO] [stderr]    |
[INFO] [stderr] 95 | fn check_arg(name: Name, arg: Name, needle: &Expr) -> bool {
[INFO] [stderr]    |                               ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 95 | fn check_arg(name: Name, arg: rustc::hir::print::AnnNode, needle: &Expr) -> bool {
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]   --> src/bytecount.rs:99:41
[INFO] [stderr]    |
[INFO] [stderr] 99 | fn get_path_name(expr: &Expr) -> Option<Name> {
[INFO] [stderr]    |                                         ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 99 | fn get_path_name(expr: &Expr) -> Option<rustc::hir::print::AnnNode> {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stderr]   --> src/const_static_lifetime.rs:37:35
[INFO] [stderr]    |
[INFO] [stderr] 37 |     fn visit_type(&mut self, ty: &Ty, cx: &EarlyContext) {
[INFO] [stderr]    |                                   ^^ not found in this scope
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::Ty;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::ty::Ty;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Item` in this scope
[INFO] [stderr]   --> src/const_static_lifetime.rs:81:56
[INFO] [stderr]    |
[INFO] [stderr] 81 |     fn check_item(&mut self, cx: &EarlyContext, item: &Item) {
[INFO] [stderr]    |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::Item;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SmallVector` in this scope
[INFO] [stderr]    --> src/copies.rs:235:37
[INFO] [stderr]     |
[INFO] [stderr] 235 | fn if_sequence(mut expr: &Expr) -> (SmallVector<&Expr>, SmallVector<&Block>) {
[INFO] [stderr]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SmallVector` in this scope
[INFO] [stderr]    --> src/copies.rs:235:57
[INFO] [stderr]     |
[INFO] [stderr] 235 | fn if_sequence(mut expr: &Expr) -> (SmallVector<&Expr>, SmallVector<&Block>) {
[INFO] [stderr]     |                                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalInternedString` in this scope
[INFO] [stderr]    --> src/copies.rs:265:73
[INFO] [stderr]     |
[INFO] [stderr] 265 | fn bindings<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, pat: &Pat) -> HashMap<LocalInternedString, Ty<'tcx>> {
[INFO] [stderr]     |                                                                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalInternedString` in this scope
[INFO] [stderr]    --> src/copies.rs:266:89
[INFO] [stderr]     |
[INFO] [stderr] 266 |     fn bindings_impl<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, pat: &Pat, map: &mut HashMap<LocalInternedString, Ty<'tcx>>) {
[INFO] [stderr]     |                                                                                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/cyclomatic_complexity.rs:47:94
[INFO] [stderr]    |
[INFO] [stderr] 47 |     fn check<'a, 'tcx: 'a>(&mut self, cx: &'a LateContext<'a, 'tcx>, body: &'tcx Body, span: Span) {
[INFO] [stderr]    |                                                                                              ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/cyclomatic_complexity.rs:120:15
[INFO] [stderr]     |
[INFO] [stderr] 120 |         span: Span,
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/cyclomatic_complexity.rs:121:18
[INFO] [stderr]     |
[INFO] [stderr] 121 |         node_id: NodeId,
[INFO] [stderr]     |                  ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Attribute` in this scope
[INFO] [stderr]    --> src/cyclomatic_complexity.rs:129:78
[INFO] [stderr]     |
[INFO] [stderr] 129 |     fn enter_lint_attrs(&mut self, cx: &LateContext<'a, 'tcx>, attrs: &'tcx [Attribute]) {
[INFO] [stderr]     |                                                                              ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Attribute` in this scope
[INFO] [stderr]    --> src/cyclomatic_complexity.rs:133:77
[INFO] [stderr]     |
[INFO] [stderr] 133 |     fn exit_lint_attrs(&mut self, cx: &LateContext<'a, 'tcx>, attrs: &'tcx [Attribute]) {
[INFO] [stderr]     |                                                                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/cyclomatic_complexity.rs:203:100
[INFO] [stderr]     |
[INFO] [stderr] 203 | fn report_cc_bug(cx: &LateContext, cc: u64, narms: u64, div: u64, shorts: u64, returns: u64, span: Span, id: NodeId) {
[INFO] [stderr]     |                                                                                                    ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/cyclomatic_complexity.rs:203:110
[INFO] [stderr]     |
[INFO] [stderr] 203 | fn report_cc_bug(cx: &LateContext, cc: u64, narms: u64, div: u64, shorts: u64, returns: u64, span: Span, id: NodeId) {
[INFO] [stderr]     |                                                                                                              ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/derive.rs:89:11
[INFO] [stderr]    |
[INFO] [stderr] 89 |     span: Span,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/doc.rs:89:58
[INFO] [stderr]    |
[INFO] [stderr] 89 | pub fn strip_doc_comment_decoration(comment: &str, span: Span) -> (String, Vec<(usize, Span)>) {
[INFO] [stderr]    |                                                          ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/doc.rs:89:88
[INFO] [stderr]    |
[INFO] [stderr] 89 | pub fn strip_doc_comment_decoration(comment: &str, span: Span) -> (String, Vec<(usize, Span)>) {
[INFO] [stderr]    |                                                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/doc.rs:191:22
[INFO] [stderr]     |
[INFO] [stderr] 191 |     spans: &[(usize, Span)],
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/doc.rs:234:77
[INFO] [stderr]     |
[INFO] [stderr] 234 | fn check_text(cx: &EarlyContext, valid_idents: &[String], text: &str, span: Span) {
[INFO] [stderr]     |                                                                             ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/doc.rs:257:52
[INFO] [stderr]     |
[INFO] [stderr] 257 | fn check_word(cx: &EarlyContext, word: &str, span: Span) {
[INFO] [stderr]     |                                                    ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope
[INFO] [stderr]   --> src/double_comparison.rs:44:13
[INFO] [stderr]    |
[INFO] [stderr] 44 |         op: BinOp_,
[INFO] [stderr]    |             ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/double_comparison.rs:47:15
[INFO] [stderr]    |
[INFO] [stderr] 47 |         span: Span,
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]   --> src/double_parens.rs:33:56
[INFO] [stderr]    |
[INFO] [stderr] 33 |     fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) {
[INFO] [stderr]    |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::Expr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]   --> src/else_if_without_else.rs:51:60
[INFO] [stderr]    |
[INFO] [stderr] 51 |     fn check_expr(&mut self, cx: &EarlyContext, mut item: &Expr) {
[INFO] [stderr]    |                                                            ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use rustc::hir::Expr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/entry.rs:116:11
[INFO] [stderr]     |
[INFO] [stderr] 116 |     span: Span,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/enum_glob_use.rs:37:74
[INFO] [stderr]    |
[INFO] [stderr] 37 |     fn check_mod(&mut self, cx: &LateContext<'a, 'tcx>, m: &'tcx Mod, _: Span, _: NodeId) {
[INFO] [stderr]    |                                                                          ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/enum_glob_use.rs:37:83
[INFO] [stderr]    |
[INFO] [stderr] 37 |     fn check_mod(&mut self, cx: &LateContext<'a, 'tcx>, m: &'tcx Mod, _: Span, _: NodeId) {
[INFO] [stderr]    |                                                                                   ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalInternedString` in this scope
[INFO] [stderr]    --> src/enum_variants.rs:104:19
[INFO] [stderr]     |
[INFO] [stderr] 104 |     modules: Vec<(LocalInternedString, String)>,
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Variant` in this scope
[INFO] [stderr]    --> src/enum_variants.rs:123:18
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn var2str(var: &Variant) -> LocalInternedString {
[INFO] [stderr]     |                  ^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use rustc::hir::Variant;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalInternedString` in this scope
[INFO] [stderr]    --> src/enum_variants.rs:123:30
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn var2str(var: &Variant) -> LocalInternedString {
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `EnumDef` in this scope
[INFO] [stderr]    --> src/enum_variants.rs:153:11
[INFO] [stderr]     |
[INFO] [stderr] 153 |     def: &EnumDef,
[INFO] [stderr]     |           ^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use rustc::hir::EnumDef;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/enum_variants.rs:156:11
[INFO] [stderr]     |
[INFO] [stderr] 156 |     span: Span,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Item` in this scope
[INFO] [stderr]    --> src/enum_variants.rs:242:63
[INFO] [stderr]     |
[INFO] [stderr] 242 |     fn check_item_post(&mut self, _cx: &EarlyContext, _item: &Item) {
[INFO] [stderr]     |                                                               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use rustc::hir::Item;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Item` in this scope
[INFO] [stderr]    --> src/enum_variants.rs:247:56
[INFO] [stderr]     |
[INFO] [stderr] 247 |     fn check_item(&mut self, cx: &EarlyContext, item: &Item) {
[INFO] [stderr]     |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use rustc::hir::Item;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/erasing_op.rs:52:44
[INFO] [stderr]    |
[INFO] [stderr] 52 | fn check(cx: &LateContext, e: &Expr, span: Span) {
[INFO] [stderr]    |                                            ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/escape.rs:64:12
[INFO] [stderr]    |
[INFO] [stderr] 64 |         _: Span,
[INFO] [stderr]    |            ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/escape.rs:65:18
[INFO] [stderr]    |
[INFO] [stderr] 65 |         node_id: NodeId,
[INFO] [stderr]    |                  ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/escape.rs:89:30
[INFO] [stderr]    |
[INFO] [stderr] 89 |     fn consume(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, mode: ConsumeMode) {
[INFO] [stderr]    |                              ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/escape.rs:89:41
[INFO] [stderr]    |
[INFO] [stderr] 89 |     fn consume(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, mode: ConsumeMode) {
[INFO] [stderr]    |                                         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/escape.rs:139:29
[INFO] [stderr]     |
[INFO] [stderr] 139 |     fn borrow(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: ty::Region, _: ty::BorrowKind, loan_cause: LoanCause) {
[INFO] [stderr]     |                             ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/escape.rs:139:40
[INFO] [stderr]     |
[INFO] [stderr] 139 |     fn borrow(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: ty::Region, _: ty::BorrowKind, loan_cause: LoanCause) {
[INFO] [stderr]     |                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/escape.rs:160:40
[INFO] [stderr]     |
[INFO] [stderr] 160 |     fn decl_without_init(&mut self, _: NodeId, _: Span) {}
[INFO] [stderr]     |                                        ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/escape.rs:160:51
[INFO] [stderr]     |
[INFO] [stderr] 160 |     fn decl_without_init(&mut self, _: NodeId, _: Span) {}
[INFO] [stderr]     |                                                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/escape.rs:161:29
[INFO] [stderr]     |
[INFO] [stderr] 161 |     fn mutate(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: MutateMode) {}
[INFO] [stderr]     |                             ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/escape.rs:161:40
[INFO] [stderr]     |
[INFO] [stderr] 161 |     fn mutate(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: MutateMode) {}
[INFO] [stderr]     |                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stderr]   --> src/excessive_precision.rs:67:26
[INFO] [stderr]    |
[INFO] [stderr] 67 |     fn check(&self, sym: Symbol, fty: FloatTy) -> Option<String> {
[INFO] [stderr]    |                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FloatTy` in this scope
[INFO] [stderr]   --> src/excessive_precision.rs:67:39
[INFO] [stderr]    |
[INFO] [stderr] 67 |     fn check(&self, sym: Symbol, fty: FloatTy) -> Option<String> {
[INFO] [stderr]    |                                       ^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::ty::layout::FloatTy;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FloatTy` in this scope
[INFO] [stderr]    --> src/excessive_precision.rs:116:20
[INFO] [stderr]     |
[INFO] [stderr] 116 | fn max_digits(fty: FloatTy) -> u32 {
[INFO] [stderr]     |                    ^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::ty::layout::FloatTy;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `P` in this scope
[INFO] [stderr]    --> src/formatting.rs:216:45
[INFO] [stderr]     |
[INFO] [stderr] 216 | fn unsugar_if(expr: &ast::Expr) -> Option<(&P<ast::Block>, &Option<P<ast::Expr>>)> {
[INFO] [stderr]     |                                             ^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::ptr::P;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `P` in this scope
[INFO] [stderr]    --> src/formatting.rs:216:68
[INFO] [stderr]     |
[INFO] [stderr] 216 | fn unsugar_if(expr: &ast::Expr) -> Option<(&P<ast::Block>, &Option<P<ast::Expr>>)> {
[INFO] [stderr]     |                                                                    ^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::ptr::P;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/functions.rs:83:15
[INFO] [stderr]    |
[INFO] [stderr] 83 |         span: Span,
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/functions.rs:129:75
[INFO] [stderr]     |
[INFO] [stderr] 129 |     fn check_arg_number(self, cx: &LateContext, decl: &hir::FnDecl, span: Span) {
[INFO] [stderr]     |                                                                           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/identity_conversion.rs:26:26
[INFO] [stderr]    |
[INFO] [stderr] 26 |     try_desugar_arm: Vec<NodeId>,
[INFO] [stderr]    |                          ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/identity_op.rs:62:51
[INFO] [stderr]    |
[INFO] [stderr] 62 | fn check(cx: &LateContext, e: &Expr, m: i8, span: Span, arg: Span) {
[INFO] [stderr]    |                                                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/identity_op.rs:62:62
[INFO] [stderr]    |
[INFO] [stderr] 62 | fn check(cx: &LateContext, e: &Expr, m: i8, span: Span, arg: Span) {
[INFO] [stderr]    |                                                              ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]   --> src/if_not_else.rs:49:56
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn check_expr(&mut self, cx: &EarlyContext, item: &Expr) {
[INFO] [stderr]    |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  | use rustc::hir::Expr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]   --> src/inline_fn_without_body.rs:46:40
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn check_attrs(cx: &LateContext, name: Name, attrs: &[Attribute]) {
[INFO] [stderr]    |                                        ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn check_attrs(cx: &LateContext, name: rustc::hir::print::AnnNode, attrs: &[Attribute]) {
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Attribute` in this scope
[INFO] [stderr]   --> src/inline_fn_without_body.rs:46:55
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn check_attrs(cx: &LateContext, name: Name, attrs: &[Attribute]) {
[INFO] [stderr]    |                                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Lit` in this scope
[INFO] [stderr]   --> src/int_plus_one.rs:56:31
[INFO] [stderr]    |
[INFO] [stderr] 56 |     fn check_lit(&self, lit: &Lit, target_value: i128) -> bool {
[INFO] [stderr]    |                               ^^^
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 56 |     fn check_lit(&self, lit: &Lint, target_value: i128) -> bool {
[INFO] [stderr]    |                               ^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use rustc::hir::Lit;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOpKind` in this scope
[INFO] [stderr]   --> src/int_plus_one.rs:63:53
[INFO] [stderr]    |
[INFO] [stderr] 63 |     fn check_binop(&self, cx: &EarlyContext, binop: BinOpKind, lhs: &Expr, rhs: &Expr) -> Option<String> {
[INFO] [stderr]    |                                                     ^^^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use rustc::hir::BinOpKind;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]   --> src/int_plus_one.rs:63:70
[INFO] [stderr]    |
[INFO] [stderr] 63 |     fn check_binop(&self, cx: &EarlyContext, binop: BinOpKind, lhs: &Expr, rhs: &Expr) -> Option<String> {
[INFO] [stderr]    |                                                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use rustc::hir::Expr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]   --> src/int_plus_one.rs:63:82
[INFO] [stderr]    |
[INFO] [stderr] 63 |     fn check_binop(&self, cx: &EarlyContext, binop: BinOpKind, lhs: &Expr, rhs: &Expr) -> Option<String> {
[INFO] [stderr]    |                                                                                  ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use rustc::hir::Expr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOpKind` in this scope
[INFO] [stderr]    --> src/int_plus_one.rs:130:16
[INFO] [stderr]     |
[INFO] [stderr] 130 |         binop: BinOpKind,
[INFO] [stderr]     |                ^^^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use rustc::hir::BinOpKind;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]    --> src/int_plus_one.rs:131:16
[INFO] [stderr]     |
[INFO] [stderr] 131 |         node: &Expr,
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use rustc::hir::Expr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]    --> src/int_plus_one.rs:132:22
[INFO] [stderr]     |
[INFO] [stderr] 132 |         other_side: &Expr,
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use rustc::hir::Expr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]    --> src/int_plus_one.rs:152:55
[INFO] [stderr]     |
[INFO] [stderr] 152 |     fn emit_warning(&self, cx: &EarlyContext, block: &Expr, recommendation: String) {
[INFO] [stderr]     |                                                       ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use rustc::hir::Expr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]    --> src/int_plus_one.rs:160:56
[INFO] [stderr]     |
[INFO] [stderr] 160 |     fn check_expr(&mut self, cx: &EarlyContext, item: &Expr) {
[INFO] [stderr]     |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use rustc::hir::Expr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Block` in this scope
[INFO] [stderr]   --> src/items_after_statements.rs:44:57
[INFO] [stderr]    |
[INFO] [stderr] 44 |     fn check_block(&mut self, cx: &EarlyContext, item: &Block) {
[INFO] [stderr]    |                                                         ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use rustc::hir::Block;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/len_zero.rs:196:38
[INFO] [stderr]     |
[INFO] [stderr] 196 | fn check_cmp(cx: &LateContext, span: Span, method: &Expr, lit: &Expr, op: &str, compare_to: u32) {
[INFO] [stderr]     |                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/len_zero.rs:209:38
[INFO] [stderr]     |
[INFO] [stderr] 209 | fn check_len(cx: &LateContext, span: Span, method_name: Name, args: &[Expr], lit: &Lit, op: &str, compare_to: u32) {
[INFO] [stderr]     |                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/len_zero.rs:209:57
[INFO] [stderr]     |
[INFO] [stderr] 209 | fn check_len(cx: &LateContext, span: Span, method_name: Name, args: &[Expr], lit: &Lit, op: &str, compare_to: u32) {
[INFO] [stderr]     |                                                         ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 209 | fn check_len(cx: &LateContext, span: Span, method_name: rustc::hir::print::AnnNode, args: &[Expr], lit: &Lit, op: &str, compare_to: u32) {
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `AssociatedItem` in module `ty`
[INFO] [stderr]    --> src/len_zero.rs:236:49
[INFO] [stderr]     |
[INFO] [stderr] 236 |     fn is_is_empty(cx: &LateContext, item: &ty::AssociatedItem) -> bool {
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^^^ not found in `ty`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]   --> src/lifetimes.rs:89:11
[INFO] [stderr]    |
[INFO] [stderr] 89 |     Named(Name),
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 89 |     Named(rustc::hir::print::AnnNode),
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/lifetimes.rs:97:11
[INFO] [stderr]    |
[INFO] [stderr] 97 |     span: Span,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/lifetimes.rs:425:18
[INFO] [stderr]     |
[INFO] [stderr] 425 |     map: HashMap<Name, Span>,
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 425 |     map: HashMap<rustc::hir::print::AnnNode, Span>,
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/lifetimes.rs:425:24
[INFO] [stderr]     |
[INFO] [stderr] 425 |     map: HashMap<Name, Span>,
[INFO] [stderr]     |                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]    --> src/literal_representation.rs:282:56
[INFO] [stderr]     |
[INFO] [stderr] 282 |     fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) {
[INFO] [stderr]     |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 4   | use rustc::hir::Expr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Lit` in this scope
[INFO] [stderr]    --> src/literal_representation.rs:294:49
[INFO] [stderr]     |
[INFO] [stderr] 294 |     fn check_lit(self, cx: &EarlyContext, lit: &Lit) {
[INFO] [stderr]     |                                                 ^^^
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 294 |     fn check_lit(self, cx: &EarlyContext, lit: &Lint) {
[INFO] [stderr]     |                                                 ^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 4   | use rustc::hir::Lit;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]    --> src/literal_representation.rs:422:56
[INFO] [stderr]     |
[INFO] [stderr] 422 |     fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) {
[INFO] [stderr]     |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 4   | use rustc::hir::Expr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Lit` in this scope
[INFO] [stderr]    --> src/literal_representation.rs:439:49
[INFO] [stderr]     |
[INFO] [stderr] 439 |     fn check_lit(self, cx: &EarlyContext, lit: &Lit) {
[INFO] [stderr]     |                                                 ^^^
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 439 |     fn check_lit(self, cx: &EarlyContext, lit: &Lint) {
[INFO] [stderr]     |                                                 ^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 4   | use rustc::hir::Lit;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/loops.rs:578:50
[INFO] [stderr]     |
[INFO] [stderr] 578 | fn never_loop_block(block: &Block, main_loop_id: NodeId) -> NeverLoopResult {
[INFO] [stderr]     |                                                  ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Decl` in this scope
[INFO] [stderr]    --> src/loops.rs:592:24
[INFO] [stderr]     |
[INFO] [stderr] 592 | fn decl_to_expr(decl: &Decl) -> Option<&Expr> {
[INFO] [stderr]     |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/loops.rs:599:47
[INFO] [stderr]     |
[INFO] [stderr] 599 | fn never_loop_expr(expr: &Expr, main_loop_id: NodeId) -> NeverLoopResult {
[INFO] [stderr]     |                                               ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/loops.rs:671:82
[INFO] [stderr]     |
[INFO] [stderr] 671 | fn never_loop_expr_seq<'a, T: Iterator<Item=&'a Expr>>(es: &mut T, main_loop_id: NodeId) -> NeverLoopResult {
[INFO] [stderr]     |                                                                                  ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/loops.rs:676:82
[INFO] [stderr]     |
[INFO] [stderr] 676 | fn never_loop_expr_all<'a, T: Iterator<Item=&'a Expr>>(es: &mut T, main_loop_id: NodeId) -> NeverLoopResult {
[INFO] [stderr]     |                                                                                  ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/loops.rs:681:84
[INFO] [stderr]     |
[INFO] [stderr] 681 | fn never_loop_expr_branch<'a, T: Iterator<Item=&'a Expr>>(e: &mut T, main_loop_id: NodeId) -> NeverLoopResult {
[INFO] [stderr]     |                                                                                    ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]     --> src/loops.rs:1099:34
[INFO] [stderr]      |
[INFO] [stderr] 1099 | fn is_len_call(expr: &Expr, var: Name) -> bool {
[INFO] [stderr]      |                                  ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]      |
[INFO] [stderr] 1099 | fn is_len_call(expr: &Expr, var: rustc::hir::print::AnnNode) -> bool {
[INFO] [stderr]      |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1408:25
[INFO] [stderr]      |
[INFO] [stderr] 1408 |     node_id_low: Option<NodeId>,
[INFO] [stderr]      |                         ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1409:26
[INFO] [stderr]      |
[INFO] [stderr] 1409 |     node_id_high: Option<NodeId>,
[INFO] [stderr]      |                          ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1410:22
[INFO] [stderr]      |
[INFO] [stderr] 1410 |     span_low: Option<Span>,
[INFO] [stderr]      |                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1411:23
[INFO] [stderr]      |
[INFO] [stderr] 1411 |     span_high: Option<Span>,
[INFO] [stderr]      |                       ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1415:30
[INFO] [stderr]      |
[INFO] [stderr] 1415 |     fn consume(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: ConsumeMode) {}
[INFO] [stderr]      |                              ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1415:41
[INFO] [stderr]      |
[INFO] [stderr] 1415 |     fn consume(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: ConsumeMode) {}
[INFO] [stderr]      |                                         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1421:29
[INFO] [stderr]      |
[INFO] [stderr] 1421 |     fn borrow(&mut self, _: NodeId, sp: Span, cmt: &cmt_<'tcx>, _: ty::Region, bk: ty::BorrowKind, _: LoanCause) {
[INFO] [stderr]      |                             ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1421:41
[INFO] [stderr]      |
[INFO] [stderr] 1421 |     fn borrow(&mut self, _: NodeId, sp: Span, cmt: &cmt_<'tcx>, _: ty::Region, bk: ty::BorrowKind, _: LoanCause) {
[INFO] [stderr]      |                                         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1434:29
[INFO] [stderr]      |
[INFO] [stderr] 1434 |     fn mutate(&mut self, _: NodeId, sp: Span, cmt: &cmt_<'tcx>, _: MutateMode) {
[INFO] [stderr]      |                             ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1434:41
[INFO] [stderr]      |
[INFO] [stderr] 1434 |     fn mutate(&mut self, _: NodeId, sp: Span, cmt: &cmt_<'tcx>, _: MutateMode) {
[INFO] [stderr]      |                                         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1445:40
[INFO] [stderr]      |
[INFO] [stderr] 1445 |     fn decl_without_init(&mut self, _: NodeId, _: Span) {}
[INFO] [stderr]      |                                        ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1445:51
[INFO] [stderr]      |
[INFO] [stderr] 1445 |     fn decl_without_init(&mut self, _: NodeId, _: Span) {}
[INFO] [stderr]      |                                                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1449:40
[INFO] [stderr]      |
[INFO] [stderr] 1449 |     fn mutation_span(&self) -> (Option<Span>, Option<Span>) {
[INFO] [stderr]      |                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1449:54
[INFO] [stderr]      |
[INFO] [stderr] 1449 |     fn mutation_span(&self) -> (Option<Span>, Option<Span>) {
[INFO] [stderr]      |                                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1473:54
[INFO] [stderr]      |
[INFO] [stderr] 1473 | fn mut_warn_with_span(cx: &LateContext, span: Option<Span>) {
[INFO] [stderr]      |                                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1484:67
[INFO] [stderr]      |
[INFO] [stderr] 1484 | fn check_for_mutability(cx: &LateContext, bound: &Expr) -> Option<NodeId> {
[INFO] [stderr]      |                                                                   ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1506:74
[INFO] [stderr]      |
[INFO] [stderr] 1506 | fn check_for_mutation(cx: &LateContext, body: &Expr, bound_ids: &[Option<NodeId>]) -> (Option<Span>, Option<Span>) {
[INFO] [stderr]      |                                                                          ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1506:95
[INFO] [stderr]      |
[INFO] [stderr] 1506 | fn check_for_mutation(cx: &LateContext, body: &Expr, bound_ids: &[Option<NodeId>]) -> (Option<Span>, Option<Span>) {
[INFO] [stderr]      |                                                                                               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/loops.rs:1506:109
[INFO] [stderr]      |
[INFO] [stderr] 1506 | fn check_for_mutation(cx: &LateContext, body: &Expr, bound_ids: &[Option<NodeId>]) -> (Option<Span>, Option<Span>) {
[INFO] [stderr]      |                                                                                                             ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]     --> src/loops.rs:1580:26
[INFO] [stderr]      |
[INFO] [stderr] 1580 |     indexed_mut: HashSet<Name>,
[INFO] [stderr]      |                          ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]      |
[INFO] [stderr] 1580 |     indexed_mut: HashSet<rustc::hir::print::AnnNode>,
[INFO] [stderr]      |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]     --> src/loops.rs:1582:33
[INFO] [stderr]      |
[INFO] [stderr] 1582 |     indexed_indirectly: HashMap<Name, Option<region::Scope>>,
[INFO] [stderr]      |                                 ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]      |
[INFO] [stderr] 1582 |     indexed_indirectly: HashMap<rustc::hir::print::AnnNode, Option<region::Scope>>,
[INFO] [stderr]      |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]     --> src/loops.rs:1585:31
[INFO] [stderr]      |
[INFO] [stderr] 1585 |     indexed_directly: HashMap<Name, Option<region::Scope>>,
[INFO] [stderr]      |                               ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]      |
[INFO] [stderr] 1585 |     indexed_directly: HashMap<rustc::hir::print::AnnNode, Option<region::Scope>>,
[INFO] [stderr]      |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]     --> src/loops.rs:1588:25
[INFO] [stderr]      |
[INFO] [stderr] 1588 |     referenced: HashSet<Name>,
[INFO] [stderr]      |                         ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]      |
[INFO] [stderr] 1588 |     referenced: HashSet<rustc::hir::print::AnnNode>,
[INFO] [stderr]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1757:13
[INFO] [stderr]      |
[INFO] [stderr] 1757 |     def_id: NodeId,
[INFO] [stderr]      |             ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1758:19
[INFO] [stderr]      |
[INFO] [stderr] 1758 |     iter_expr_id: NodeId,
[INFO] [stderr]      |                   ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1868:21
[INFO] [stderr]      |
[INFO] [stderr] 1868 |     states: HashMap<NodeId, VarState>, // incremented variables
[INFO] [stderr]      |                     ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:1924:13
[INFO] [stderr]      |
[INFO] [stderr] 1924 |     var_id: NodeId,
[INFO] [stderr]      |             ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]     --> src/loops.rs:1926:18
[INFO] [stderr]      |
[INFO] [stderr] 1926 |     name: Option<Name>,
[INFO] [stderr]      |                  ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]      |
[INFO] [stderr] 1926 |     name: Option<rustc::hir::print::AnnNode>,
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Decl` in this scope
[INFO] [stderr]     --> src/loops.rs:1932:42
[INFO] [stderr]      |
[INFO] [stderr] 1932 |     fn visit_decl(&mut self, decl: &'tcx Decl) {
[INFO] [stderr]      |                                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:2007:56
[INFO] [stderr]      |
[INFO] [stderr] 2007 | fn var_def_id(cx: &LateContext, expr: &Expr) -> Option<NodeId> {
[INFO] [stderr]      |                                                        ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:2091:9
[INFO] [stderr]      |
[INFO] [stderr] 2091 |     id: NodeId,
[INFO] [stderr]      |         ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]     --> src/loops.rs:2092:15
[INFO] [stderr]      |
[INFO] [stderr] 2092 |     iterator: Name,
[INFO] [stderr]      |               ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]      |
[INFO] [stderr] 2092 |     iterator: rustc::hir::print::AnnNode,
[INFO] [stderr]      |               ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]     --> src/loops.rs:2139:34
[INFO] [stderr]      |
[INFO] [stderr] 2139 | fn path_name(e: &Expr) -> Option<Name> {
[INFO] [stderr]      |                                  ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]      |
[INFO] [stderr] 2139 | fn path_name(e: &Expr) -> Option<rustc::hir::print::AnnNode> {
[INFO] [stderr]      |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/loops.rs:2188:18
[INFO] [stderr]      |
[INFO] [stderr] 2188 |     ids: HashSet<NodeId>,
[INFO] [stderr]      |                  ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/map_unit_fn.rs:112:80
[INFO] [stderr]     |
[INFO] [stderr] 112 | fn reduce_unit_expression<'a>(cx: &LateContext, expr: &'a hir::Expr) -> Option<Span> {
[INFO] [stderr]     |                                                                                ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/matches.rs:495:15
[INFO] [stderr]     |
[INFO] [stderr] 495 |     pub span: Span,
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/methods.rs:876:70
[INFO] [stderr]     |
[INFO] [stderr] 876 | fn lint_or_fun_call(cx: &LateContext, expr: &hir::Expr, method_span: Span, name: &str, args: &[hir::Expr]) {
[INFO] [stderr]     |                                                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/methods.rs:885:15
[INFO] [stderr]     |
[INFO] [stderr] 885 |         span: Span,
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/methods.rs:926:22
[INFO] [stderr]     |
[INFO] [stderr] 926 |         method_span: Span,
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/methods.rs:927:19
[INFO] [stderr]     |
[INFO] [stderr] 927 |         fun_span: Span,
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/methods.rs:931:15
[INFO] [stderr]     |
[INFO] [stderr] 931 |         span: Span,
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/methods.rs:1000:74
[INFO] [stderr]      |
[INFO] [stderr] 1000 | fn lint_expect_fun_call(cx: &LateContext, expr: &hir::Expr, method_span: Span, name: &str, args: &[hir::Expr]) {
[INFO] [stderr]      |                                                                          ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/methods.rs:1030:22
[INFO] [stderr]      |
[INFO] [stderr] 1030 |         method_span: Span,
[INFO] [stderr]      |                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/methods.rs:1033:15
[INFO] [stderr]      |
[INFO] [stderr] 1033 |         span: Span,
[INFO] [stderr]      |               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in module `hir`
[INFO] [stderr]     --> src/methods.rs:1277:18
[INFO] [stderr]      |
[INFO] [stderr] 1277 |         op: hir::BinOp_,
[INFO] [stderr]      |                  ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/misc.rs:246:12
[INFO] [stderr]     |
[INFO] [stderr] 246 |         _: Span,
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/misc.rs:247:12
[INFO] [stderr]     |
[INFO] [stderr] 247 |         _: NodeId,
[INFO] [stderr]     |            ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Def` in module `def`
[INFO] [stderr]    --> src/misc.rs:565:49
[INFO] [stderr]     |
[INFO] [stderr] 565 | fn non_macro_local(cx: &LateContext, def: &def::Def) -> bool {
[INFO] [stderr]     |                                                 ^^^ not found in `def`
[INFO] [stderr] help: there is an enum variant `rustc::hir::TyKind::Def` and 1 other; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 565 | fn non_macro_local(cx: &LateContext, def: &rustc::hir::TyKind) -> bool {
[INFO] [stderr]     |                                            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 565 | fn non_macro_local(cx: &LateContext, def: &rustc::hir::def::Res) -> bool {
[INFO] [stderr]     |                                            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/misc.rs:572:39
[INFO] [stderr]     |
[INFO] [stderr] 572 | fn check_cast(cx: &LateContext, span: Span, e: &Expr, ty: &Ty) {
[INFO] [stderr]     |                                       ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Generics` in this scope
[INFO] [stderr]    --> src/misc_early.rs:190:59
[INFO] [stderr]     |
[INFO] [stderr] 190 |     fn check_generics(&mut self, cx: &EarlyContext, gen: &Generics) {
[INFO] [stderr]     |                                                           ^^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Generics;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::ty::Generics;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Pat` in this scope
[INFO] [stderr]    --> src/misc_early.rs:206:54
[INFO] [stderr]     |
[INFO] [stderr] 206 |     fn check_pat(&mut self, cx: &EarlyContext, pat: &Pat) {
[INFO] [stderr]     |                                                      ^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Pat;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stderr]    --> src/misc_early.rs:266:50
[INFO] [stderr]     |
[INFO] [stderr] 266 |     fn check_fn(&mut self, cx: &EarlyContext, _: FnKind, decl: &FnDecl, _: Span, _: NodeId) {
[INFO] [stderr]     |                                                  ^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::intravisit::FnKind;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stderr]    --> src/misc_early.rs:266:65
[INFO] [stderr]     |
[INFO] [stderr] 266 |     fn check_fn(&mut self, cx: &EarlyContext, _: FnKind, decl: &FnDecl, _: Span, _: NodeId) {
[INFO] [stderr]     |                                                                 ^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::FnDecl;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/misc_early.rs:266:76
[INFO] [stderr]     |
[INFO] [stderr] 266 |     fn check_fn(&mut self, cx: &EarlyContext, _: FnKind, decl: &FnDecl, _: Span, _: NodeId) {
[INFO] [stderr]     |                                                                            ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/misc_early.rs:266:85
[INFO] [stderr]     |
[INFO] [stderr] 266 |     fn check_fn(&mut self, cx: &EarlyContext, _: FnKind, decl: &FnDecl, _: Span, _: NodeId) {
[INFO] [stderr]     |                                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]    --> src/misc_early.rs:293:56
[INFO] [stderr]     |
[INFO] [stderr] 293 |     fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) {
[INFO] [stderr]     |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Expr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Block` in this scope
[INFO] [stderr]    --> src/misc_early.rs:325:58
[INFO] [stderr]     |
[INFO] [stderr] 325 |     fn check_block(&mut self, cx: &EarlyContext, block: &Block) {
[INFO] [stderr]     |                                                          ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Block;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Lit` in this scope
[INFO] [stderr]    --> src/misc_early.rs:352:49
[INFO] [stderr]     |
[INFO] [stderr] 352 |     fn check_lit(self, cx: &EarlyContext, lit: &Lit) {
[INFO] [stderr]     |                                                 ^^^
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 352 |     fn check_lit(self, cx: &EarlyContext, lit: &Lint) {
[INFO] [stderr]     |                                                 ^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Lit;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/missing_doc.rs:69:88
[INFO] [stderr]    |
[INFO] [stderr] 69 |     fn check_missing_docs_attrs(&self, cx: &LateContext, attrs: &[ast::Attribute], sp: Span, desc: &'static str) {
[INFO] [stderr]    |                                                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/missing_inline.rs:71:61
[INFO] [stderr]    |
[INFO] [stderr] 71 |                               attrs: &[ast::Attribute], sp: Span, desc: &'static str) {
[INFO] [stderr]    |                                                             ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 12 | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Crate` in this scope
[INFO] [stderr]   --> src/multiple_crate_versions.rs:41:58
[INFO] [stderr]    |
[INFO] [stderr] 41 |     fn check_crate(&mut self, cx: &EarlyContext, krate: &Crate) {
[INFO] [stderr]    |                                                          ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use rustc::hir::Crate;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/needless_pass_by_value.rs:68:18
[INFO] [stderr]    |
[INFO] [stderr] 68 |         node_id: NodeId,
[INFO] [stderr]    |                  ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/needless_pass_by_value.rs:302:25
[INFO] [stderr]     |
[INFO] [stderr] 302 |     moved_vars: HashSet<NodeId>,
[INFO] [stderr]     |                         ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/needless_pass_by_value.rs:305:31
[INFO] [stderr]     |
[INFO] [stderr] 305 |     spans_need_deref: HashMap<NodeId, HashSet<Span>>,
[INFO] [stderr]     |                               ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/needless_pass_by_value.rs:317:44
[INFO] [stderr]     |
[INFO] [stderr] 317 |     fn move_common(&mut self, _consume_id: NodeId, _span: Span, cmt: &mc::cmt_<'tcx>) {
[INFO] [stderr]     |                                            ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/needless_pass_by_value.rs:376:39
[INFO] [stderr]     |
[INFO] [stderr] 376 |     fn consume(&mut self, consume_id: NodeId, consume_span: Span, cmt: &mc::cmt_<'tcx>, mode: euv::ConsumeMode) {
[INFO] [stderr]     |                                       ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/needless_pass_by_value.rs:396:29
[INFO] [stderr]     |
[INFO] [stderr] 396 |     fn borrow(&mut self, _: NodeId, _: Span, _: &mc::cmt_<'tcx>, _: ty::Region, _: ty::BorrowKind, _: euv::LoanCause) {}
[INFO] [stderr]     |                             ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/needless_pass_by_value.rs:398:29
[INFO] [stderr]     |
[INFO] [stderr] 398 |     fn mutate(&mut self, _: NodeId, _: Span, _: &mc::cmt_<'tcx>, _: euv::MutateMode) {}
[INFO] [stderr]     |                             ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/needless_pass_by_value.rs:400:40
[INFO] [stderr]     |
[INFO] [stderr] 400 |     fn decl_without_init(&mut self, _: NodeId, _: Span) {}
[INFO] [stderr]     |                                        ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/neg_multiply.rs:47:38
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn check_mul(cx: &LateContext, span: Span, lit: &Expr, exp: &Expr) {
[INFO] [stderr]    |                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/new_without_default.rs:168:104
[INFO] [stderr]     |
[INFO] [stderr] 168 | fn can_derive_default<'t, 'c>(ty: Ty<'t>, cx: &LateContext<'c, 't>, default_trait_id: DefId) -> Option<Span> {
[INFO] [stderr]     |                                                                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalInternedString` in this scope
[INFO] [stderr]   --> src/non_expressive_names.rs:76:15
[INFO] [stderr]    |
[INFO] [stderr] 76 |     interned: LocalInternedString,
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/non_expressive_names.rs:77:11
[INFO] [stderr]    |
[INFO] [stderr] 77 |     span: Span,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:104:24
[INFO] [stderr]     |
[INFO] [stderr] 104 | impl<'a, 'tcx: 'a, 'b> Visitor<'tcx> for SimilarNamesNameVisitor<'a, 'tcx, 'b> {
[INFO] [stderr]     |                        ^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Visitor;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::hir::Visitor;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::intravisit::Visitor;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::mir::visit::Visitor;
[INFO] [stderr]     |
[INFO] [stderr] and 1 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Pat` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:105:40
[INFO] [stderr]     |
[INFO] [stderr] 105 |     fn visit_pat(&mut self, pat: &'tcx Pat) {
[INFO] [stderr]     |                                        ^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Pat;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:133:51
[INFO] [stderr]     |
[INFO] [stderr] 133 |     fn check_short_name(&mut self, c: char, span: Span) {
[INFO] [stderr]     |                                                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:148:36
[INFO] [stderr]     |
[INFO] [stderr] 148 |     fn check_name(&mut self, span: Span, name: Name) {
[INFO] [stderr]     |                                    ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:148:48
[INFO] [stderr]     |
[INFO] [stderr] 148 |     fn check_name(&mut self, span: Span, name: Name) {
[INFO] [stderr]     |                                                ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 148 |     fn check_name(&mut self, span: Span, name: rustc::hir::print::AnnNode) {
[INFO] [stderr]     |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:287:16
[INFO] [stderr]     |
[INFO] [stderr] 287 | impl<'a, 'tcx> Visitor<'tcx> for SimilarNamesLocalVisitor<'a, 'tcx> {
[INFO] [stderr]     |                ^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Visitor;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::hir::Visitor;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::intravisit::Visitor;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::mir::visit::Visitor;
[INFO] [stderr]     |
[INFO] [stderr] and 1 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Local` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:288:44
[INFO] [stderr]     |
[INFO] [stderr] 288 |     fn visit_local(&mut self, local: &'tcx Local) {
[INFO] [stderr]     |                                            ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Local;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::mir::Local;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Block` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:297:42
[INFO] [stderr]     |
[INFO] [stderr] 297 |     fn visit_block(&mut self, blk: &'tcx Block) {
[INFO] [stderr]     |                                          ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Block;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Arm` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:300:40
[INFO] [stderr]     |
[INFO] [stderr] 300 |     fn visit_arm(&mut self, arm: &'tcx Arm) {
[INFO] [stderr]     |                                        ^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Arm;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Item` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:308:34
[INFO] [stderr]     |
[INFO] [stderr] 308 |     fn visit_item(&mut self, _: &Item) {
[INFO] [stderr]     |                                  ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Item;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Item` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:314:56
[INFO] [stderr]     |
[INFO] [stderr] 314 |     fn check_item(&mut self, cx: &EarlyContext, item: &Item) {
[INFO] [stderr]     |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Item;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ImplItem` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:320:61
[INFO] [stderr]     |
[INFO] [stderr] 320 |     fn check_impl_item(&mut self, cx: &EarlyContext, item: &ImplItem) {
[INFO] [stderr]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::ImplItem;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Attribute` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:328:72
[INFO] [stderr]     |
[INFO] [stderr] 328 | fn do_check(lint: &mut NonExpressiveNames, cx: &EarlyContext, attrs: &[Attribute], decl: &FnDecl, blk: &Block) {
[INFO] [stderr]     |                                                                        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:328:91
[INFO] [stderr]     |
[INFO] [stderr] 328 | fn do_check(lint: &mut NonExpressiveNames, cx: &EarlyContext, attrs: &[Attribute], decl: &FnDecl, blk: &Block) {
[INFO] [stderr]     |                                                                                           ^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::FnDecl;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Block` in this scope
[INFO] [stderr]    --> src/non_expressive_names.rs:328:105
[INFO] [stderr]     |
[INFO] [stderr] 328 | fn do_check(lint: &mut NonExpressiveNames, cx: &EarlyContext, attrs: &[Attribute], decl: &FnDecl, blk: &Block) {
[INFO] [stderr]     |                                                                                                         ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Block;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/open_options.rs:114:83
[INFO] [stderr]     |
[INFO] [stderr] 114 | fn check_open_options(cx: &LateContext, options: &[(OpenOption, Argument)], span: Span) {
[INFO] [stderr]     |                                                                                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/panic_unimplemented.rs:75:35
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn get_outer_span(expr: &Expr) -> Span {
[INFO] [stderr]    |                                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `P` in this scope
[INFO] [stderr]   --> src/panic_unimplemented.rs:87:25
[INFO] [stderr]    |
[INFO] [stderr] 87 | fn match_panic(params: &P<[Expr]>, expr: &Expr, cx: &LateContext) {
[INFO] [stderr]    |                         ^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::ptr::P;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]   --> src/precedence.rs:39:56
[INFO] [stderr]    |
[INFO] [stderr] 39 |     fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) {
[INFO] [stderr]    |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::Expr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]    --> src/precedence.rs:115:25
[INFO] [stderr]     |
[INFO] [stderr] 115 | fn is_arith_expr(expr: &Expr) -> bool {
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::Expr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOpKind` in this scope
[INFO] [stderr]    --> src/precedence.rs:122:18
[INFO] [stderr]     |
[INFO] [stderr] 122 | fn is_bit_op(op: BinOpKind) -> bool {
[INFO] [stderr]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::BinOpKind;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOpKind` in this scope
[INFO] [stderr]    --> src/precedence.rs:130:20
[INFO] [stderr]     |
[INFO] [stderr] 130 | fn is_arith_op(op: BinOpKind) -> bool {
[INFO] [stderr]     |                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::BinOpKind;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/ptr.rs:147:53
[INFO] [stderr]     |
[INFO] [stderr] 147 | fn check_fn(cx: &LateContext, decl: &FnDecl, fn_id: NodeId, opt_body_id: Option<BodyId>) {
[INFO] [stderr]     |                                                     ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/ptr.rs:275:59
[INFO] [stderr]     |
[INFO] [stderr] 275 | fn get_rptr_lm(ty: &Ty) -> Option<(&Lifetime, Mutability, Span)> {
[INFO] [stderr]     |                                                           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `P` in this scope
[INFO] [stderr]    --> src/question_mark.rs:111:51
[INFO] [stderr]     |
[INFO] [stderr] 111 |     fn return_expression(block: &Block) -> Option<P<Expr>> {
[INFO] [stderr]     |                                                   ^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::ptr::P;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]   --> src/reference.rs:32:27
[INFO] [stderr]    |
[INFO] [stderr] 32 | fn without_parens(mut e: &Expr) -> &Expr {
[INFO] [stderr]    |                           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::Expr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]   --> src/reference.rs:32:37
[INFO] [stderr]    |
[INFO] [stderr] 32 | fn without_parens(mut e: &Expr) -> &Expr {
[INFO] [stderr]    |                                     ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::Expr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]   --> src/reference.rs:40:53
[INFO] [stderr]    |
[INFO] [stderr] 40 |     fn check_expr(&mut self, cx: &EarlyContext, e: &Expr) {
[INFO] [stderr]    |                                                     ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::Expr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stderr]   --> src/reference.rs:85:53
[INFO] [stderr]    |
[INFO] [stderr] 85 |     fn check_expr(&mut self, cx: &EarlyContext, e: &Expr) {
[INFO] [stderr]    |                                                     ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::Expr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/regex.rs:68:20
[INFO] [stderr]    |
[INFO] [stderr] 68 |     spans: HashSet<Span>,
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/regex.rs:69:18
[INFO] [stderr]    |
[INFO] [stderr] 69 |     last: Option<NodeId>,
[INFO] [stderr]    |                  ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/regex.rs:132:19
[INFO] [stderr]     |
[INFO] [stderr] 132 | fn str_span(base: Span, c: regex_syntax::ast::Span, offset: u16) -> Span {
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/regex.rs:132:69
[INFO] [stderr]     |
[INFO] [stderr] 132 | fn str_span(base: Span, c: regex_syntax::ast::Span, offset: u16) -> Span {
[INFO] [stderr]     |                                                                     ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/returns.rs:62:86
[INFO] [stderr]    |
[INFO] [stderr] 62 |     fn check_final_expr(&mut self, cx: &EarlyContext, expr: &ast::Expr, span: Option<Span>) {
[INFO] [stderr]    |                                                                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/returns.rs:90:65
[INFO] [stderr]    |
[INFO] [stderr] 90 |     fn emit_return_lint(&mut self, cx: &EarlyContext, ret_span: Span, inner_span: Span) {
[INFO] [stderr]    |                                                                 ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/returns.rs:90:83
[INFO] [stderr]    |
[INFO] [stderr] 90 |     fn emit_return_lint(&mut self, cx: &EarlyContext, ret_span: Span, inner_span: Span) {
[INFO] [stderr]    |                                                                                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stderr]    --> src/returns.rs:139:53
[INFO] [stderr]     |
[INFO] [stderr] 139 |     fn check_fn(&mut self, cx: &EarlyContext, kind: FnKind, _: &ast::FnDecl, _: Span, _: ast::NodeId) {
[INFO] [stderr]     |                                                     ^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use rustc::hir::intravisit::FnKind;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/returns.rs:139:81
[INFO] [stderr]     |
[INFO] [stderr] 139 |     fn check_fn(&mut self, cx: &EarlyContext, kind: FnKind, _: &ast::FnDecl, _: Span, _: ast::NodeId) {
[INFO] [stderr]     |                                                                                 ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/shadow.rs:89:12
[INFO] [stderr]    |
[INFO] [stderr] 89 |         _: Span,
[INFO] [stderr]    |            ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/shadow.rs:90:12
[INFO] [stderr]    |
[INFO] [stderr] 90 |         _: NodeId,
[INFO] [stderr]    |            ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/shadow.rs:109:94
[INFO] [stderr]     |
[INFO] [stderr] 109 | fn check_block<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, block: &'tcx Block, bindings: &mut Vec<(Name, Span)>) {
[INFO] [stderr]     |                                                                                              ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 109 | fn check_block<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, block: &'tcx Block, bindings: &mut Vec<(rustc::hir::print::AnnNode, Span)>) {
[INFO] [stderr]     |                                                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/shadow.rs:109:100
[INFO] [stderr]     |
[INFO] [stderr] 109 | fn check_block<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, block: &'tcx Block, bindings: &mut Vec<(Name, Span)>) {
[INFO] [stderr]     |                                                                                                    ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Decl` in this scope
[INFO] [stderr]    --> src/shadow.rs:123:65
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn check_decl<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl, bindings: &mut Vec<(Name, Span)>) {
[INFO] [stderr]     |                                                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/shadow.rs:123:91
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn check_decl<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl, bindings: &mut Vec<(Name, Span)>) {
[INFO] [stderr]     |                                                                                           ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn check_decl<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl, bindings: &mut Vec<(rustc::hir::print::AnnNode, Span)>) {
[INFO] [stderr]     |                                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/shadow.rs:123:97
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn check_decl<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl, bindings: &mut Vec<(Name, Span)>) {
[INFO] [stderr]     |                                                                                                 ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/shadow.rs:162:11
[INFO] [stderr]     |
[INFO] [stderr] 162 |     span: Span,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/shadow.rs:163:25
[INFO] [stderr]     |
[INFO] [stderr] 163 |     bindings: &mut Vec<(Name, Span)>,
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 163 |     bindings: &mut Vec<(rustc::hir::print::AnnNode, Span)>,
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/shadow.rs:163:31
[INFO] [stderr]     |
[INFO] [stderr] 163 |     bindings: &mut Vec<(Name, Span)>,
[INFO] [stderr]     |                               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/shadow.rs:239:11
[INFO] [stderr]     |
[INFO] [stderr] 239 |     name: Name,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 239 |     name: rustc::hir::print::AnnNode,
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/shadow.rs:240:11
[INFO] [stderr]     |
[INFO] [stderr] 240 |     span: Span,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/shadow.rs:241:19
[INFO] [stderr]     |
[INFO] [stderr] 241 |     pattern_span: Span,
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/shadow.rs:243:16
[INFO] [stderr]     |
[INFO] [stderr] 243 |     prev_span: Span,
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/shadow.rs:304:91
[INFO] [stderr]     |
[INFO] [stderr] 304 | fn check_expr<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr, bindings: &mut Vec<(Name, Span)>) {
[INFO] [stderr]     |                                                                                           ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 304 | fn check_expr<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr, bindings: &mut Vec<(rustc::hir::print::AnnNode, Span)>) {
[INFO] [stderr]     |                                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/shadow.rs:304:97
[INFO] [stderr]     |
[INFO] [stderr] 304 | fn check_expr<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr, bindings: &mut Vec<(Name, Span)>) {
[INFO] [stderr]     |                                                                                                 ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/shadow.rs:348:85
[INFO] [stderr]     |
[INFO] [stderr] 348 | fn check_ty<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, ty: &'tcx Ty, bindings: &mut Vec<(Name, Span)>) {
[INFO] [stderr]     |                                                                                     ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 348 | fn check_ty<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, ty: &'tcx Ty, bindings: &mut Vec<(rustc::hir::print::AnnNode, Span)>) {
[INFO] [stderr]     |                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/shadow.rs:348:91
[INFO] [stderr]     |
[INFO] [stderr] 348 | fn check_ty<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, ty: &'tcx Ty, bindings: &mut Vec<(Name, Span)>) {
[INFO] [stderr]     |                                                                                           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/shadow.rs:364:25
[INFO] [stderr]     |
[INFO] [stderr] 364 | fn is_self_shadow(name: Name, expr: &Expr) -> bool {
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 364 | fn is_self_shadow(name: rustc::hir::print::AnnNode, expr: &Expr) -> bool {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Name` in this scope
[INFO] [stderr]    --> src/shadow.rs:380:23
[INFO] [stderr]     |
[INFO] [stderr] 380 | fn path_eq_name(name: Name, path: &Path) -> bool {
[INFO] [stderr]     |                       ^^^^ not found in this scope
[INFO] [stderr] help: there is an enum variant `rustc::hir::print::AnnNode::Name`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 380 | fn path_eq_name(name: rustc::hir::print::AnnNode, path: &Path) -> bool {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in module `hir`
[INFO] [stderr]    --> src/suspicious_trait_impl.rs:147:17
[INFO] [stderr]     |
[INFO] [stderr] 147 |     binop: hir::BinOp_,
[INFO] [stderr]     |                 ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in module `hir`
[INFO] [stderr]    --> src/suspicious_trait_impl.rs:149:26
[INFO] [stderr]     |
[INFO] [stderr] 149 |     expected_ops: &[hir::BinOp_],
[INFO] [stderr]     |                          ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/trivially_copy_pass_by_ref.rs:80:18
[INFO] [stderr]    |
[INFO] [stderr] 80 |         node_id: NodeId,
[INFO] [stderr]    |                  ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/types.rs:139:85
[INFO] [stderr]     |
[INFO] [stderr] 139 |     fn check_fn(&mut self, cx: &LateContext, _: FnKind, decl: &FnDecl, _: &Body, _: Span, id: NodeId) {
[INFO] [stderr]     |                                                                                     ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/types.rs:139:95
[INFO] [stderr]     |
[INFO] [stderr] 139 |     fn check_fn(&mut self, cx: &LateContext, _: FnKind, decl: &FnDecl, _: &Body, _: Span, id: NodeId) {
[INFO] [stderr]     |                                                                                               ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Decl` in this scope
[INFO] [stderr]    --> src/types.rs:379:44
[INFO] [stderr]     |
[INFO] [stderr] 379 | fn check_let_unit(cx: &LateContext, decl: &Decl) {
[INFO] [stderr]     |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Decl` in this scope
[INFO] [stderr]    --> src/types.rs:408:70
[INFO] [stderr]     |
[INFO] [stderr] 408 |     fn check_decl(&mut self, cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl) {
[INFO] [stderr]     |                                                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/types.rs:1131:12
[INFO] [stderr]      |
[INFO] [stderr] 1131 |         _: Span,
[INFO] [stderr]      |            ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]     --> src/types.rs:1132:12
[INFO] [stderr]      |
[INFO] [stderr] 1132 |         _: NodeId,
[INFO] [stderr]      |            ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope
[INFO] [stderr]     --> src/types.rs:1377:9
[INFO] [stderr]      |
[INFO] [stderr] 1377 |     op: BinOp_,
[INFO] [stderr]      |         ^^^^^^ help: a type alias with a similar name exists: `BinOp`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/types.rs:1629:50
[INFO] [stderr]      |
[INFO] [stderr] 1629 | fn err_upcast_comparison(cx: &LateContext, span: Span, expr: &Expr, always: bool) {
[INFO] [stderr]      |                                                  ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/types.rs:1646:11
[INFO] [stderr]      |
[INFO] [stderr] 1646 |     span: Span,
[INFO] [stderr]      |           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DiagnosticBuilder` in this scope
[INFO] [stderr]     --> src/types.rs:1751:22
[INFO] [stderr]      |
[INFO] [stderr] 1751 |             db: &mut DiagnosticBuilder,
[INFO] [stderr]      |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/types.rs:1752:28
[INFO] [stderr]      |
[INFO] [stderr] 1752 |             generics_span: Span,
[INFO] [stderr]      |                            ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/types.rs:1753:39
[INFO] [stderr]      |
[INFO] [stderr] 1753 |             generics_suggestion_span: Span,
[INFO] [stderr]      |                                       ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/types.rs:1874:13
[INFO] [stderr]      |
[INFO] [stderr] 1874 |     HashMap(Span, Ty<'tcx>, Cow<'static, str>, Cow<'static, str>),
[INFO] [stderr]      |             ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/types.rs:1875:13
[INFO] [stderr]      |
[INFO] [stderr] 1875 |     HashSet(Span, Ty<'tcx>, Cow<'static, str>),
[INFO] [stderr]      |             ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/types.rs:1928:23
[INFO] [stderr]      |
[INFO] [stderr] 1928 |     fn span(&self) -> Span {
[INFO] [stderr]      |                       ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]     --> src/types.rs:1965:27
[INFO] [stderr]      |
[INFO] [stderr] 1965 |     suggestions: BTreeMap<Span, String>,
[INFO] [stderr]      |                           ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1    | use regex_syntax::ast::Span;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/unicode.rs:96:38
[INFO] [stderr]    |
[INFO] [stderr] 96 | fn check_str(cx: &LateContext, span: Span, id: NodeId) {
[INFO] [stderr]    |                                      ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/unicode.rs:96:48
[INFO] [stderr]    |
[INFO] [stderr] 96 | fn check_str(cx: &LateContext, span: Span, id: NodeId) {
[INFO] [stderr]    |                                                ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Item` in this scope
[INFO] [stderr]   --> src/unsafe_removed_from_name.rs:37:56
[INFO] [stderr]    |
[INFO] [stderr] 37 |     fn check_item(&mut self, cx: &EarlyContext, item: &Item) {
[INFO] [stderr]    |                                                        ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc::hir::Item;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UseTree` in this scope
[INFO] [stderr]   --> src/unsafe_removed_from_name.rs:44:30
[INFO] [stderr]    |
[INFO] [stderr] 44 | fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext, span: Span) {
[INFO] [stderr]    |                              ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/unsafe_removed_from_name.rs:44:64
[INFO] [stderr]    |
[INFO] [stderr] 44 | fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext, span: Span) {
[INFO] [stderr]    |                                                                ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Ident` in this scope
[INFO] [stderr]   --> src/unsafe_removed_from_name.rs:65:35
[INFO] [stderr]    |
[INFO] [stderr] 65 | fn unsafe_to_safe_check(old_name: Ident, new_name: Ident, cx: &EarlyContext, span: Span) {
[INFO] [stderr]    |                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Ident` in this scope
[INFO] [stderr]   --> src/unsafe_removed_from_name.rs:65:52
[INFO] [stderr]    |
[INFO] [stderr] 65 | fn unsafe_to_safe_check(old_name: Ident, new_name: Ident, cx: &EarlyContext, span: Span) {
[INFO] [stderr]    |                                                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/unsafe_removed_from_name.rs:65:84
[INFO] [stderr]    |
[INFO] [stderr] 65 | fn unsafe_to_safe_check(old_name: Ident, new_name: Ident, cx: &EarlyContext, span: Span) {
[INFO] [stderr]    |                                                                                    ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalInternedString` in this scope
[INFO] [stderr]   --> src/unsafe_removed_from_name.rs:78:27
[INFO] [stderr]    |
[INFO] [stderr] 78 | fn contains_unsafe(name: &LocalInternedString) -> bool {
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalInternedString` in this scope
[INFO] [stderr]   --> src/unused_label.rs:33:21
[INFO] [stderr]    |
[INFO] [stderr] 33 |     labels: HashMap<LocalInternedString, Span>,
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/unused_label.rs:33:42
[INFO] [stderr]    |
[INFO] [stderr] 33 |     labels: HashMap<LocalInternedString, Span>,
[INFO] [stderr]    |                                          ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/unused_label.rs:50:15
[INFO] [stderr]    |
[INFO] [stderr] 50 |         span: Span,
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]    --> src/unwrap.rs:194:15
[INFO] [stderr]     |
[INFO] [stderr] 194 |         span: Span,
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use regex_syntax::ast::Span;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]    --> src/unwrap.rs:195:16
[INFO] [stderr]     |
[INFO] [stderr] 195 |         fn_id: NodeId,
[INFO] [stderr]     |                ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stderr]   --> src/use_self.rs:90:53
[INFO] [stderr]    |
[INFO] [stderr] 90 |     fn visit_path(&mut self, path: &'tcx Path, _id: NodeId) {
[INFO] [stderr]    |                                                     ^^^^^^ help: a struct with a similar name exists: `BodyId`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Span` in this scope
[INFO] [stderr]   --> src/vec.rs:66:98
[INFO] [stderr]    |
[INFO] [stderr] 66 | fn check_vec_macro<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, vec_args: &higher::VecArgs<'tcx>, span: Span) {
[INFO] [stderr]    |                                                                                                  ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use regex_syntax::ast::Span;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalInternedString` in this scope
[INFO] [stderr]    --> src/write.rs:392:49
[INFO] [stderr]     |
[INFO] [stderr] 392 | fn has_newline_end(args: &HirVec<Expr>, fmtstr: LocalInternedString, fmtlen: usize) -> bool {
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalInternedString` in this scope
[INFO] [stderr]    --> src/write.rs:410:76
[INFO] [stderr]     |
[INFO] [stderr] 410 | fn has_empty_arg<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, span: Span, fmtstr: LocalInternedString, fmtlen: usize) -> Option<Span> {
[INFO] [stderr]     |                                                                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalInternedString` in this scope
[INFO] [stderr]    --> src/write.rs:430:54
[INFO] [stderr]     |
[INFO] [stderr] 430 | fn get_argument_fmtstr_parts(expr: &Expr) -> Option<(LocalInternedString, usize)> {
[INFO] [stderr]     |                                                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: enum `Node` is private
[INFO] [stderr]  --> src/utils/mod.rs:7:22
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rustc::hir::map::Node;
[INFO] [stderr]   |                      ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: enum `Node` is private
[INFO] [stderr]  --> src/escape.rs:3:22
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rustc::hir::map::Node::{NodeExpr, NodeStmt};
[INFO] [stderr]   |                      ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: enum `Node` is private
[INFO] [stderr]   --> src/functions.rs:86:30
[INFO] [stderr]    |
[INFO] [stderr] 86 |         use rustc::hir::map::Node::*;
[INFO] [stderr]    |                              ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: enum `Node` is private
[INFO] [stderr]  --> src/loops.rs:7:22
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rustc::hir::map::Node::{NodeBlock, NodeExpr, NodeStmt};
[INFO] [stderr]   |                      ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: enum `Node` is private
[INFO] [stderr]  --> src/write.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use rustc::hir::map::Node::{NodeImplItem, NodeItem};
[INFO] [stderr]   |                      ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]    --> src/utils/conf.rs:104:21
[INFO] [stderr]     |
[INFO] [stderr] 104 |                       crate fn deserialize<'de, D: serde::Deserializer<'de>>(deserializer: D)
[INFO] [stderr]     |                       ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 130 | / define_Conf! {
[INFO] [stderr] 131 | |     /// Lint: BLACKLISTED_NAME. The list of blacklisted names to lint about
[INFO] [stderr] 132 | |     (blacklisted_names, "blacklisted_names", ["foo", "bar", "baz", "quux"] => Vec<String>),
[INFO] [stderr] 133 | |     /// Lint: CYCLOMATIC_COMPLEXITY. The maximum cyclomatic complexity a function can have
[INFO] [stderr] ...   |
[INFO] [stderr] 169 | |     (trivial_copy_size_limit, "trivial_copy_size_limit", None => Option<u64>),
[INFO] [stderr] 170 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]   --> src/literal_representation.rs:93:5
[INFO] [stderr]    |
[INFO] [stderr] 93 |     crate fn suggest_grouping(&self) -> usize {
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]    --> src/literal_representation.rs:104:5
[INFO] [stderr]     |
[INFO] [stderr] 104 |     crate digits: &'a str,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]    --> src/literal_representation.rs:106:5
[INFO] [stderr]     |
[INFO] [stderr] 106 |     crate radix: Radix,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]    --> src/literal_representation.rs:108:5
[INFO] [stderr]     |
[INFO] [stderr] 108 |     crate prefix: Option<&'a str>,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]    --> src/literal_representation.rs:110:5
[INFO] [stderr]     |
[INFO] [stderr] 110 |     crate suffix: Option<&'a str>,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]    --> src/literal_representation.rs:112:5
[INFO] [stderr]     |
[INFO] [stderr] 112 |     crate float: bool,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]    --> src/literal_representation.rs:116:5
[INFO] [stderr]     |
[INFO] [stderr] 116 |     crate fn new(lit: &'a str, float: bool) -> Self {
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]    --> src/literal_representation.rs:163:5
[INFO] [stderr]     |
[INFO] [stderr] 163 |     crate fn grouping_hint(&self) -> String {
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]    --> src/literal_representation.rs:230:5
[INFO] [stderr]     |
[INFO] [stderr] 230 |     crate fn display(&self, grouping_hint: &str, cx: &EarlyContext, span: syntax_pos::Span) {
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: `crate` visibility modifier is experimental
[INFO] [stderr]    --> src/lib.rs:189:5
[INFO] [stderr]     |
[INFO] [stderr] 189 |     crate use syntax::ast::{Name, NodeId};
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see https://github.com/rust-lang/rust/issues/53120
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 611 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0407, E0412, E0432, E0433, E0603, E0658, E0705.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: Could not document `clippy_lints`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-name clippy_lints src/lib.rs -o /opt/crater/target/doc --color never --document-private-items -L dependency=/opt/crater/target/debug/deps --extern cargo_metadata=/opt/crater/target/debug/deps/libcargo_metadata-f660cf6a5674bb30.rmeta --extern if_chain=/opt/crater/target/debug/deps/libif_chain-97a0963a38b7f7b9.rmeta --extern itertools=/opt/crater/target/debug/deps/libitertools-c0baf27251a77ea9.rmeta --extern lazy_static=/opt/crater/target/debug/deps/liblazy_static-7976880d9b715b47.rmeta --extern matches=/opt/crater/target/debug/deps/libmatches-d1be500cded3af6b.rmeta --extern pulldown_cmark=/opt/crater/target/debug/deps/libpulldown_cmark-db30bcc121d6af40.rmeta --extern quine_mc_cluskey=/opt/crater/target/debug/deps/libquine_mc_cluskey-788bb75d91b020b1.rmeta --extern regex_syntax=/opt/crater/target/debug/deps/libregex_syntax-8746fc87db4dcb73.rmeta --extern semver=/opt/crater/target/debug/deps/libsemver-95aceaa79169727d.rmeta --extern serde=/opt/crater/target/debug/deps/libserde-672b67a041411725.rmeta --extern serde_derive=/opt/crater/target/debug/deps/libserde_derive-34110ebd1e2184ef.so --extern toml=/opt/crater/target/debug/deps/libtoml-fcda51929ad81c95.rmeta --extern unicode_normalization=/opt/crater/target/debug/deps/libunicode_normalization-e58683736c7eca53.rmeta --extern url=/opt/crater/target/debug/deps/liburl-d5e8063f78ee6561.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "81004c1d4caa86b59ca54fa7bbc8c79e54d2a76de39ab2730db47ea6727473c1"`
[INFO] running `"docker" "rm" "-f" "81004c1d4caa86b59ca54fa7bbc8c79e54d2a76de39ab2730db47ea6727473c1"`
[INFO] [stdout] 81004c1d4caa86b59ca54fa7bbc8c79e54d2a76de39ab2730db47ea6727473c1
