clippy 0.0.113

A bunch of helpful lints to avoid common pitfalls in Rust
Build #40902 2017-02-04T12:46:50.104200+00:00
# rustc version
rustc 1.16.0-nightly (df8debf6d 2017-01-25)# docs.rs version
cratesfyi 0.3.1 (35080d4 2017-01-24)# build log
Build failed, waiting for other jobs to finish...
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading clippy v0.0.113
Compiling serde v0.9.6
Compiling unicode-normalization v0.1.3
Compiling itoa v0.3.0
Compiling matches v0.1.4
Compiling unicode-xid v0.0.4
Compiling nom v1.2.4
Compiling dtoa v0.4.0
Compiling quote v0.3.12
Running `rustc --crate-name serde .cargo/registry/src/github.com-1ecc6299db9ec823/serde-0.9.6/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="std"' --cfg 'feature="default"' -C metadata=eb150695fea2362e -C extra-filename=-eb150695fea2362e --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Running `rustc --crate-name unicode_normalization .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.3/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=f93de3c883c4775e -C extra-filename=-f93de3c883c4775e --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Running `rustc --crate-name itoa .cargo/registry/src/github.com-1ecc6299db9ec823/itoa-0.3.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=0f7463567e9fd4ad -C extra-filename=-0f7463567e9fd4ad --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Running `rustc --crate-name matches .cargo/registry/src/github.com-1ecc6299db9ec823/matches-0.1.4/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=8f1598a59712d6cc -C extra-filename=-8f1598a59712d6cc --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Running `rustc --crate-name unicode_xid .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.0.4/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=0718538d6479f922 -C extra-filename=-0718538d6479f922 --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Running `rustc --crate-name dtoa .cargo/registry/src/github.com-1ecc6299db9ec823/dtoa-0.4.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ba0e73842c1af91c -C extra-filename=-ba0e73842c1af91c --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Running `rustc --crate-name quote .cargo/registry/src/github.com-1ecc6299db9ec823/quote-0.3.12/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=b64bd59975f476de -C extra-filename=-b64bd59975f476de --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Running `rustc --crate-name nom .cargo/registry/src/github.com-1ecc6299db9ec823/nom-1.2.4/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="stream"' --cfg 'feature="default"' -C metadata=c11a5cbc9654b215 -C extra-filename=-c11a5cbc9654b215 --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Compiling regex-syntax v0.4.0
Running `rustc --crate-name regex_syntax .cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.4.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=21fcdc3a2a66b202 -C extra-filename=-21fcdc3a2a66b202 --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Compiling num-traits v0.1.36
Running `rustc --crate-name num_traits .cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.1.36/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=51f88ce8f32c0283 -C extra-filename=-51f88ce8f32c0283 --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Compiling quine-mc_cluskey v0.2.4
Running `rustc --crate-name quine_mc_cluskey .cargo/registry/src/github.com-1ecc6299db9ec823/quine-mc_cluskey-0.2.4/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=9702e7983e184bea -C extra-filename=-9702e7983e184bea --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Compiling rustc-serialize v0.3.22
Running `rustc --crate-name rustc_serialize .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.22/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=2c0b16b7ceb9fdcb -C extra-filename=-2c0b16b7ceb9fdcb --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --cap-lints allow`
Compiling syn v0.11.4
Running `rustc --crate-name syn .cargo/registry/src/github.com-1ecc6299db9ec823/syn-0.11.4/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="printing"' --cfg 'feature="default"' --cfg 'feature="aster"' --cfg 'feature="unicode-xid"' --cfg 'feature="quote"' --cfg 'feature="visit"' --cfg 'feature="parsing"' -C metadata=db4263af327fd7b4 -C extra-filename=-db4263af327fd7b4 --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --extern quote=/home/cratesfyi/clippy-0.0.113/debug/deps/libquote-b64bd59975f476de.rlib --extern unicode_xid=/home/cratesfyi/clippy-0.0.113/debug/deps/libunicode_xid-0718538d6479f922.rlib --cap-lints allow`
Compiling semver v0.2.3
Running `rustc --crate-name semver .cargo/registry/src/github.com-1ecc6299db9ec823/semver-0.2.3/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=f515919a8f1856d4 -C extra-filename=-f515919a8f1856d4 --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --extern nom=/home/cratesfyi/clippy-0.0.113/debug/deps/libnom-c11a5cbc9654b215.rlib --cap-lints allow`
Compiling toml v0.2.1
Running `rustc --crate-name toml .cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.2.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="rustc-serialize"' -C metadata=94ea404b50476639 -C extra-filename=-94ea404b50476639 --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --extern rustc_serialize=/home/cratesfyi/clippy-0.0.113/debug/deps/librustc_serialize-2c0b16b7ceb9fdcb.rlib --cap-lints allow`
Compiling serde_json v0.9.5
Running `rustc --crate-name serde_json .cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-0.9.5/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=4d0e79b6e35d2df7 -C extra-filename=-4d0e79b6e35d2df7 --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --extern dtoa=/home/cratesfyi/clippy-0.0.113/debug/deps/libdtoa-ba0e73842c1af91c.rlib --extern itoa=/home/cratesfyi/clippy-0.0.113/debug/deps/libitoa-0f7463567e9fd4ad.rlib --extern serde=/home/cratesfyi/clippy-0.0.113/debug/deps/libserde-eb150695fea2362e.rlib --extern num_traits=/home/cratesfyi/clippy-0.0.113/debug/deps/libnum_traits-51f88ce8f32c0283.rlib --cap-lints allow`
Compiling serde_codegen_internals v0.13.0
Running `rustc --crate-name serde_codegen_internals .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.13.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=2602abca147a9d4a -C extra-filename=-2602abca147a9d4a --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --extern syn=/home/cratesfyi/clippy-0.0.113/debug/deps/libsyn-db4263af327fd7b4.rlib --cap-lints allow`
Compiling clippy_lints v0.0.113
Running `rustc --crate-name clippy_lints .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e192e733d1de3127 -C extra-filename=-e192e733d1de3127 --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --extern quine_mc_cluskey=/home/cratesfyi/clippy-0.0.113/debug/deps/libquine_mc_cluskey-9702e7983e184bea.rlib --extern regex_syntax=/home/cratesfyi/clippy-0.0.113/debug/deps/libregex_syntax-21fcdc3a2a66b202.rlib --extern unicode_normalization=/home/cratesfyi/clippy-0.0.113/debug/deps/libunicode_normalization-f93de3c883c4775e.rlib --extern toml=/home/cratesfyi/clippy-0.0.113/debug/deps/libtoml-94ea404b50476639.rlib --extern semver=/home/cratesfyi/clippy-0.0.113/debug/deps/libsemver-f515919a8f1856d4.rlib --extern matches=/home/cratesfyi/clippy-0.0.113/debug/deps/libmatches-8f1598a59712d6cc.rlib --cap-lints allow`
Compiling serde_derive v0.9.6
Running `rustc --crate-name serde_derive .cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-0.9.6/src/lib.rs --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 -C metadata=b9f77607ff14fd5b -C extra-filename=-b9f77607ff14fd5b --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --extern quote=/home/cratesfyi/clippy-0.0.113/debug/deps/libquote-b64bd59975f476de.rlib --extern serde_codegen_internals=/home/cratesfyi/clippy-0.0.113/debug/deps/libserde_codegen_internals-2602abca147a9d4a.rlib --extern syn=/home/cratesfyi/clippy-0.0.113/debug/deps/libsyn-db4263af327fd7b4.rlib --cap-lints allow`
error[E0412]: cannot find type `TypeckTables` in module `ty`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/attrs.rs:184:48
|
184 | fn is_relevant_block(tcx: ty::TyCtxt, tables: &ty::TypeckTables, block: &Block) -> bool {
|                                                ^^^^^^^^^^^^^^^^ not found in `ty`

error[E0412]: cannot find type `TypeckTables` in module `ty`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/attrs.rs:197:47
|
197 | fn is_relevant_expr(tcx: ty::TyCtxt, tables: &ty::TypeckTables, expr: &Expr) -> bool {
|                                               ^^^^^^^^^^^^^^^^ not found in `ty`

error[E0412]: cannot find type `TypeckTables` in module `ty`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/escape.rs:49:17
|
49 |     tables: &'a ty::TypeckTables<'tcx>,
|                 ^^^^^^^^^^^^^^^^^^^^^^ not found in `ty`

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/consts.rs:266:47
|
266 |                                      &lcx.tcx.hir.body(number_id).value,
|                                               ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/hir.rs:117:43
|
117 |                 self.eq_expr(&self.cx.tcx.hir.body(ll_id).value, &self.cx.tcx.hir.body(rl_id).value)
|                                           ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/hir.rs:117:79
|
117 |                 self.eq_expr(&self.cx.tcx.hir.body(ll_id).value, &self.cx.tcx.hir.body(rl_id).value)
|                                                                               ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/hir.rs:220:43
|
220 |                 self.eq_expr(&self.cx.tcx.hir.body(ll_id).value, &self.cx.tcx.hir.body(rl_id).value)
|                                           ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/hir.rs:220:79
|
220 |                 self.eq_expr(&self.cx.tcx.hir.body(ll_id).value, &self.cx.tcx.hir.body(rl_id).value)
|                                                                               ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/hir.rs:373:45
|
373 |                 self.hash_expr(&self.cx.tcx.hir.body(eid).value);
|                                             ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/hir.rs:438:45
|
438 |                 self.hash_expr(&self.cx.tcx.hir.body(l_id).value);
|                                             ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/inspector.rs:68:40
|
68 |                 print_expr(cx, &cx.tcx.hir.body(body_id).value, 1);
|                                        ^^^ unknown field

error: use of unstable library feature 'repeat_str' (see issue #37079)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/inspector.rs:154:20
|
154 |     let ind = "  ".repeat(indent);
|                    ^^^^^^
|
= help: add #![feature(repeat_str)] to the crate attributes to enable

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/inspector.rs:335:36
|
335 |             print_expr(cx, &cx.tcx.hir.body(body_id).value, indent + 1);
|                                    ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/inspector.rs:341:22
|
341 |     let did = cx.tcx.hir.local_def_id(item.id);
|                      ^^^ unknown field

error: use of unstable library feature 'repeat_str' (see issue #37079)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/inspector.rs:408:20
|
408 |     let ind = "  ".repeat(indent);
|                    ^^^^^^
|
= help: add #![feature(repeat_str)] to the crate attributes to enable

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/internal_lints.rs:117:46
|
117 |                 collector.visit_expr(&cx.tcx.hir.body(body_id).value);
|                                              ^^^ unknown field

error: no method named `is_elided` found for type `&core::option::Option<rustc::hir::Lifetime>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/internal_lints.rs:146:15
|
146 |         if lt.is_elided() {
|               ^^^^^^^^^

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/internal_lints.rs:181:44
|
181 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/mod.rs:365:28
|
365 |     let parent_id = cx.tcx.hir.get_parent(expr.id);
|                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/mod.rs:366:18
|
366 |     match cx.tcx.hir.find(parent_id) {
|                  ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/mod.rs:461:23
|
461 |     let map = &cx.tcx.hir;
|                       ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/mod.rs:475:23
|
475 |     let map = &cx.tcx.hir;
|                       ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/mod.rs:482:30
|
482 |                 match cx.tcx.hir.body(eid).value.node {
|                              ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/utils/mod.rs:765:28
|
765 |     let fn_def_id = cx.tcx.hir.local_def_id(fn_item);
|                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:146:64
|
146 |                                         let parent_fn = cx.tcx.hir.get_parent(e.id);
|                                                                ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:147:66
|
147 |                                         let parent_impl = cx.tcx.hir.get_parent(parent_fn);
|                                                                  ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/assign_ops.rs:151:89
|
151 |                                             let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl),
|                                                                                         ^^^ unknown field
...
161 |                         if ops!(op.node,
|                            - in this macro invocation

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/attrs.rs:161:58
|
161 |         is_relevant_expr(tcx, tcx.body_tables(eid), &tcx.hir.body(eid).value)
|                                                          ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/attrs.rs:169:90
|
169 |         ImplItemKind::Method(_, eid) => is_relevant_expr(tcx, tcx.body_tables(eid), &tcx.hir.body(eid).value),
|                                                                                          ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/attrs.rs:178:62
|
178 |             is_relevant_expr(tcx, tcx.body_tables(eid), &tcx.hir.body(eid).value)
|                                                              ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/block_in_if_condition.rs:60:36
|
60 |             let body = self.cx.tcx.hir.body(eid);
|                                    ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/block_in_if_condition.rs:70:44
|
70 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/cyclomatic_complexity.rs:102:29
|
102 |         let def_id = cx.tcx.hir.local_def_id(node_id);
|                             ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/derive.rs:76:46
|
76 |             let ty = cx.tcx.item_type(cx.tcx.hir.local_def_id(item.id));
|                                              ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/derive.rs:125:51
|
96  |     if_let_chain! {[
|     - in this macro invocation
...
125 |                     if let Some(node_id) = cx.tcx.hir.as_local_node_id(impl_id) {
|                                                   ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/derive.rs:127:36
|
96  |     if_let_chain! {[
|     - in this macro invocation
...
127 |                             cx.tcx.hir.span(node_id),
|                                    ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/entry.rs:151:44
|
151 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/enum_clike.rs:48:58
|
48 |                     let bad = match constcx.eval(&cx.tcx.hir.body(body_id).value, EvalHint::ExprTypeChecked) {
|                                                          ^^^ unknown field

error: no method named `is_box` found for type `&rustc::ty::TyS<'_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/escape.rs:43:8
|
43 |     ty.is_box() && !ty.boxed_ty().is_trait()
|        ^^^^^^

error: no method named `boxed_ty` found for type `&rustc::ty::TyS<'_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/escape.rs:43:24
|
43 |     ty.is_box() && !ty.boxed_ty().is_trait()
|                        ^^^^^^^^

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/escape.rs:89:30
|
89 |                       cx.tcx.hir.span(node),
|                              ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/escape.rs:108:29
|
108 |         let map = &self.tcx.hir;
|                             ^^^ unknown field

error: the type of this value must be known in this context
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/escape.rs:165:35
|
165 |                         .map(|a| &a.kind) {
|                                   ^^^^^^

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/escape.rs:180:34
|
180 |                                 .hir
|                                  ^^^ unknown field

error: no method named `is_box` found for type `&'tcx rustc::ty::TyS<'tcx>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/escape.rs:204:15
|
204 |         if ty.is_box() {
|               ^^^^^^

error: no method named `boxed_ty` found for type `&'tcx rustc::ty::TyS<'tcx>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/escape.rs:205:28
|
205 |             let inner = ty.boxed_ty();
|                            ^^^^^^^^

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/eta_reduction.rs:52:27
|
52 |         let body = cx.tcx.hir.body(eid);
|                           ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/eval_order_dependence.rs:159:44
|
159 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/eval_order_dependence.rs:179:27
|
179 |     let map = &vis.cx.tcx.hir;
|                           ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/eval_order_dependence.rs:345:44
|
345 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'b, 'b>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/format.rs:81:43
|
76 |     if_let_chain! {[
|     - in this macro invocation
...
81 |         let Some(NodeItem(decl)) = cx.tcx.hir.find(decl.id),
|                                           ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'b, 'b>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/format.rs:84:46
|
76 |     if_let_chain! {[
|     - in this macro invocation
...
84 |         let ExprAddrOf(_, ref expr) = cx.tcx.hir.body(*expr).value.node, // &["…", "…", …]
|                                              ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/functions.rs:83:60
|
83 |         let is_impl = if let Some(NodeItem(item)) = cx.tcx.hir.find(cx.tcx.hir.get_parent_node(nodeid)) {
|                                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/functions.rs:83:76
|
83 |         let is_impl = if let Some(NodeItem(item)) = cx.tcx.hir.find(cx.tcx.hir.get_parent_node(nodeid)) {
|                                                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/functions.rs:116:35
|
116 |                 let body = cx.tcx.hir.body(eid);
|                                   ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/functions.rs:203:56
|
203 |         intravisit::NestedVisitorMap::All(&self.cx.tcx.hir)
|                                                        ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/large_enum_variant.rs:49:26
|
49 |         let did = cx.tcx.hir.local_def_id(item.id);
|                          ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/len_zero.rs:96:34
|
96 |                 let did = cx.tcx.hir.local_def_id(item.id.node_id);
|                                  ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/len_zero.rs:144:33
|
144 |             let def_id = cx.tcx.hir.local_def_id(item.id);
|                                 ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/len_zero.rs:123:34
|
123 |                 let did = cx.tcx.hir.local_def_id(item.id.node_id);
|                                  ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/let_if_seq.rs:148:61
|
148 |         hir::intravisit::NestedVisitorMap::All(&self.cx.tcx.hir)
|                                                             ^^^ unknown field

error: no method named `is_elided` found for type `&rustc::hir::Lifetime` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/lifetimes.rs:233:26
|
233 |             } else if lt.is_elided() {
|                          ^^^^^^^^^

error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/lifetimes.rs:293:13
|
293 |             TyTraitObject(ref bounds, ref lt) => {
|             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2

error: no method named `is_elided` found for type `&core::option::Option<rustc::hir::Lifetime>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/lifetimes.rs:280:37
|
280 |             TyRptr(ref lt, _) if lt.is_elided() => {
|                                     ^^^^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/lifetimes.rs:298:54
|
298 |                     self.visit_poly_trait_ref(bound, TraitBoundModifier::None);
|                                                      ^^^^^^^^^^^^^^^^^^^^^^^^ expected reference, found enum `rustc::hir::TraitBoundModifier`
|
= note: expected type `&rustc::hir::TraitBoundModifier`
found type `rustc::hir::TraitBoundModifier`

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/loops.rs:680:23
|
680 |     let map = &cx.tcx.hir;
|                       ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/loops.rs:797:44
|
797 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/loops.rs:825:59
|
814 |                     if_let_chain! {[
|                     - in this macro invocation
...
825 |                                 let node_id = self.cx.tcx.hir.as_local_node_id(def_id).unwrap();
|                                                           ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/loops.rs:847:44
|
847 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/loops.rs:889:44
|
889 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/loops.rs:1032:44
|
1032 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/loops.rs:1119:44
|
1119 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/loops.rs:1127:34
|
1127 |             let node_id = cx.tcx.hir.as_local_node_id(def_id).expect("That DefId should be valid");
|                                  ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/map_clone.rs:34:43
|
34 |                         let body = cx.tcx.hir.body(closure_eid);
|                                           ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/methods.rs:617:29
|
617 |         let parent = cx.tcx.hir.get_parent(implitem.id);
|                             ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/methods.rs:618:27
|
618 |         let item = cx.tcx.hir.expect_item(parent);
|                           ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/methods.rs:622:69
|
619 |         if_let_chain! {[
|         - in this macro invocation
...
622 |             let Some(first_arg) = iter_input_pats(&sig.decl, cx.tcx.hir.body(id)).next(),
|                                                                     ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/methods.rs:638:46
|
619 |         if_let_chain! {[
|         - in this macro invocation
...
638 |             let ty = cx.tcx.item_type(cx.tcx.hir.local_def_id(item.id));
|                                              ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/methods.rs:801:25
|
801 |     let parent = cx.tcx.hir.get_parent(expr.id);
|                         ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/misc.rs:480:40
|
480 |             if let Some(span) = cx.tcx.hir.span_if_local(id) {
|                                        ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/missing_doc.rs:149:29
|
149 |         let def_id = cx.tcx.hir.local_def_id(impl_item.id);
|                             ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/mut_mut.rs:94:56
|
94 |         intravisit::NestedVisitorMap::All(&self.cx.tcx.hir)
|                                                        ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/new_without_default.rs:113:39
|
113 |                     .item_type(cx.tcx.hir.local_def_id(cx.tcx.hir.get_parent(id)));
|                                       ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/new_without_default.rs:113:63
|
113 |                     .item_type(cx.tcx.hir.local_def_id(cx.tcx.hir.get_parent(id)));
|                                                               ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'c, 't, 't>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/new_without_default.rs:163:20
|
163 |             cx.tcx.hir.span_if_local(adt_def.did)
|                    ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/print.rs:138:23
|
138 |     let map = &cx.tcx.hir;
|                       ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/ptr.rs:66:48
|
66 |             if let Some(NodeItem(it)) = cx.tcx.hir.find(cx.tcx.hir.get_parent(item.id)) {
|                                                ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/ptr.rs:66:64
|
66 |             if let Some(NodeItem(it)) = cx.tcx.hir.find(cx.tcx.hir.get_parent(item.id)) {
|                                                                ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/ptr.rs:94:28
|
94 |     let fn_def_id = cx.tcx.hir.local_def_id(fn_id);
|                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/shadow.rs:341:36
|
341 |             check_expr(cx, &cx.tcx.hir.body(body_id).value, bindings);
|                                    ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/shadow.rs:350:53
|
350 |         TyTypeof(body_id) => check_expr(cx, &cx.tcx.hir.body(body_id).value, bindings),
|                                                     ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/shadow.rs:385:44
|
385 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/types.rs:75:51
|
75 |         if let Some(map::NodeItem(item)) = cx.tcx.hir.find(cx.tcx.hir.get_parent(id)) {
|                                                   ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'_, '_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/types.rs:75:67
|
75 |         if let Some(map::NodeItem(item)) = cx.tcx.hir.find(cx.tcx.hir.get_parent(id)) {
|                                                                   ^^^ unknown field

error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/types.rs:705:13
|
705 |             TyTraitObject(ref param_bounds, _) => {
|             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/types.rs:725:44
|
725 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/unused_label.rs:86:44
|
86 |         NestedVisitorMap::All(&self.cx.tcx.hir)
|                                            ^^^ unknown field

error: no field `hir` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/vec.rs:51:75
|
48 |           if_let_chain!{[
|  _________- starting here...
49 | |             let Some((_, arg, _)) = higher::for_loop(expr),
50 | |             let Some(vec_args) = higher::vec_macro(cx, arg),
51 | |             is_copy(cx, vec_type(cx.tables.expr_ty_adjusted(arg)), cx.tcx.hir.get_parent(expr.id)),
| |                                                                           ^^^ unknown field
52 | |         ], {
53 | |             // report the error around the `vec!` not inside `<std macros>:`
54 | |             let span = cx.sess().codemap().source_callsite(arg.span);
55 | |             check_vec_macro(cx, &vec_args, span);
56 | |         }}
| |__________- ...ending here: in this macro invocation

error: aborting due to 128 previous errors

thread 'main' panicked at 'ChainedError {
error: Could not compile `clippy_lints`.,
cause: process didn't exit successfully: `rustc --crate-name clippy_lints .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.113/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e192e733d1de3127 -C extra-filename=-e192e733d1de3127 --out-dir /home/cratesfyi/clippy-0.0.113/debug/deps -L dependency=/home/cratesfyi/clippy-0.0.113/debug/deps --extern quine_mc_cluskey=/home/cratesfyi/clippy-0.0.113/debug/deps/libquine_mc_cluskey-9702e7983e184bea.rlib --extern regex_syntax=/home/cratesfyi/clippy-0.0.113/debug/deps/libregex_syntax-21fcdc3a2a66b202.rlib --extern unicode_normalization=/home/cratesfyi/clippy-0.0.113/debug/deps/libunicode_normalization-f93de3c883c4775e.rlib --extern toml=/home/cratesfyi/clippy-0.0.113/debug/deps/libtoml-94ea404b50476639.rlib --extern semver=/home/cratesfyi/clippy-0.0.113/debug/deps/libsemver-f515919a8f1856d4.rlib --extern matches=/home/cratesfyi/clippy-0.0.113/debug/deps/libmatches-8f1598a59712d6cc.rlib --cap-lints allow` (exit code: 101)
}', src/bin/cratesfyi.rs:137
note: Run with `RUST_BACKTRACE=1` for a backtrace.