clippy_lints 0.0.211

A bunch of helpful lints to avoid common pitfalls in Rust

Build #151238 2019-03-27 22:10:15

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.35.0-nightly (0f88167f8 2019-03-18)

# docs.rs version cratesfyi 0.6.0 (67b2b94 2019-03-26)

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