clippy 0.0.108

A bunch of helpful lints to avoid common pitfalls in Rust
Build #38713 2017-01-13T17:18:13.759072+00:00
# rustc version
rustc 1.16.0-nightly (6f1ae663e 2017-01-06)# docs.rs version
cratesfyi 0.2.3 (75099cc 2016-12-26)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading clippy v0.0.108
Compiling regex-syntax v0.4.0
Compiling nom v1.2.4
Compiling unicode-normalization v0.1.3
Compiling rustc-serialize v0.3.22
Compiling quine-mc_cluskey v0.2.4
Compiling matches v0.1.4
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.4.0/src/lib.rs --crate-name regex_syntax --crate-type lib -g -C metadata=ca0155d91f8f0131 -C extra-filename=-ca0155d91f8f0131 --out-dir /home/cratesfyi/clippy-0.0.108/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy-0.0.108/debug/deps --cap-lints allow`
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/nom-1.2.4/src/lib.rs --crate-name nom --crate-type lib -g --cfg feature=\"default\" --cfg feature=\"stream\" -C metadata=24d7a34b1cbfee73 -C extra-filename=-24d7a34b1cbfee73 --out-dir /home/cratesfyi/clippy-0.0.108/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy-0.0.108/debug/deps --cap-lints allow`
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.3/src/lib.rs --crate-name unicode_normalization --crate-type lib -g -C metadata=77ce7c413abacd3f -C extra-filename=-77ce7c413abacd3f --out-dir /home/cratesfyi/clippy-0.0.108/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy-0.0.108/debug/deps --cap-lints allow`
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.22/src/lib.rs --crate-name rustc_serialize --crate-type lib -g -C metadata=6b938435173797f7 -C extra-filename=-6b938435173797f7 --out-dir /home/cratesfyi/clippy-0.0.108/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy-0.0.108/debug/deps --cap-lints allow`
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/quine-mc_cluskey-0.2.4/src/lib.rs --crate-name quine_mc_cluskey --crate-type lib -g -C metadata=84dd239bf0c39084 -C extra-filename=-84dd239bf0c39084 --out-dir /home/cratesfyi/clippy-0.0.108/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy-0.0.108/debug/deps --cap-lints allow`
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/matches-0.1.4/lib.rs --crate-name matches --crate-type lib -g -C metadata=3614821dd5ceb75c -C extra-filename=-3614821dd5ceb75c --out-dir /home/cratesfyi/clippy-0.0.108/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy-0.0.108/debug/deps --cap-lints allow`
Compiling semver v0.2.3
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/semver-0.2.3/src/lib.rs --crate-name semver --crate-type lib -g --cfg feature=\"default\" -C metadata=60d1aa0e68346373 -C extra-filename=-60d1aa0e68346373 --out-dir /home/cratesfyi/clippy-0.0.108/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy-0.0.108/debug/deps --extern nom=/home/cratesfyi/clippy-0.0.108/debug/deps/libnom-24d7a34b1cbfee73.rlib --cap-lints allow`
Compiling toml v0.1.30
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.1.30/src/lib.rs --crate-name toml --crate-type lib -g --cfg feature=\"rustc-serialize\" --cfg feature=\"default\" -C metadata=1a75b37a708f335b -C extra-filename=-1a75b37a708f335b --out-dir /home/cratesfyi/clippy-0.0.108/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy-0.0.108/debug/deps --extern rustc_serialize=/home/cratesfyi/clippy-0.0.108/debug/deps/librustc_serialize-6b938435173797f7.rlib --cap-lints allow`
Compiling clippy_lints v0.0.108
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/lib.rs --crate-name clippy_lints --crate-type lib -g -C metadata=5b1324b4c1cede1b -C extra-filename=-5b1324b4c1cede1b --out-dir /home/cratesfyi/clippy-0.0.108/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy-0.0.108/debug/deps --extern quine_mc_cluskey=/home/cratesfyi/clippy-0.0.108/debug/deps/libquine_mc_cluskey-84dd239bf0c39084.rlib --extern regex_syntax=/home/cratesfyi/clippy-0.0.108/debug/deps/libregex_syntax-ca0155d91f8f0131.rlib --extern toml=/home/cratesfyi/clippy-0.0.108/debug/deps/libtoml-1a75b37a708f335b.rlib --extern semver=/home/cratesfyi/clippy-0.0.108/debug/deps/libsemver-60d1aa0e68346373.rlib --extern rustc_serialize=/home/cratesfyi/clippy-0.0.108/debug/deps/librustc_serialize-6b938435173797f7.rlib --extern matches=/home/cratesfyi/clippy-0.0.108/debug/deps/libmatches-3614821dd5ceb75c.rlib --extern unicode_normalization=/home/cratesfyi/clippy-0.0.108/debug/deps/libunicode_normalization-77ce7c413abacd3f.rlib --cap-lints allow`
error[E0432]: unresolved import `rustc_const_eval::ConstContext`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/array_indexing.rs:5:5
|
5 | use rustc_const_eval::ConstContext;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConstContext` in the root

error[E0432]: unresolved import `rustc_const_eval::ConstContext`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/loops.rs:12:5
|
12 | use rustc_const_eval::ConstContext;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConstContext` in the root

error[E0432]: unresolved import `rustc_const_eval::ConstContext`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/matches.rs:6:5
|
6 | use rustc_const_eval::ConstContext;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConstContext` in the root

error[E0432]: unresolved import `rustc_const_eval::ConstContext`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:7:5
|
7 | use rustc_const_eval::ConstContext;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConstContext` in the root

error[E0432]: unresolved import `rustc_const_eval::ConstContext`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/misc.rs:8:5
|
8 | use rustc_const_eval::ConstContext;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConstContext` in the root

error[E0432]: unresolved import `rustc_const_eval::ConstContext`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/regex.rs:6:5
|
6 | use rustc_const_eval::ConstContext;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConstContext` in the root

error[E0432]: unresolved import `rustc_const_eval::ConstContext`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:1069:9
|
1069 |     use rustc_const_eval::ConstContext;
|         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConstContext` in the root

error[E0432]: unresolved import `rustc_const_eval::ConstContext`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/vec.rs:5:5
|
5 | use rustc_const_eval::ConstContext;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConstContext` in the root

error[E0433]: failed to resolve. Use of undeclared type or module `ConstContext`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/enum_clike.rs:47:35
|
47 |                     let constcx = ConstContext::new(cx.tcx, body_id);
|                                   ^^^^^^^^^^^^^^^^^ Use of undeclared type or module `ConstContext`

error[E0433]: failed to resolve. Use of undeclared type or module `ConstContext`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:879:20
|
879 |     let cv = match ConstContext::with_tables(cx.tcx, cx.tables).eval(expr, ExprTypeChecked) {
|                    ^^^^^^^^^^^^^^^^^^^^^^^^^ Use of undeclared type or module `ConstContext`

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/consts.rs:298:27
|
298 |             let def = lcx.tables.qpath_def(qpath, id);
|                           ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/consts.rs:302:43
|
302 |                     let substs = Some(lcx.tables
|                                           ^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/consts.rs:305:33
|
305 |                     if let Some((const_expr, _tab, _ty)) = lookup_const_by_id(lcx.tcx, def_id, substs) {
|                                 ^^^^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
|
= note: expected type `(&rustc::hir::Expr, core::option::Option<&rustc::ty::TyS<'_>>)`
= note:    found type `(_, _, _)`

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/utils/inspector.rs:141:54
|
141 |             println!("local variable of type {}", cx.tables.node_id_to_type(local.id));
|                                                      ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/utils/inspector.rs:155:17
|
155 |     let ty = cx.tables.node_id_to_type(expr.id);
|                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/utils/mod.rs:185:21
|
185 |     let trt_id = cx.tables
|                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/utils/mod.rs:200:21
|
200 |     let trt_id = cx.tables
|                     ^^^^^^

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/utils/mod.rs:326:23
|
326 |     cx.tcx.infer_ctxt((), Reveal::All).enter(|infcx| {
|                       ^^^^^^^^^^^^^^^ expected 3 parameters

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/utils/mod.rs:335:8
|
335 |     cx.tables.qpath_def(qpath, id)
|        ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/utils/mod.rs:621:8
|
621 |     cx.tables.adjustments.get(&e.id).is_some()
|        ^^^^^^

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/utils/mod.rs:786:23
|
786 |     cx.tcx.infer_ctxt(parameter_env, Reveal::All).enter(|infcx| {
|                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/utils/mod.rs:810:21
|
810 |         matches!(cx.tables.qpath_def(qpath, did),
|                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/arithmetic.rs:62:40
|
62 |                 let (l_ty, r_ty) = (cx.tables.expr_ty(l), cx.tables.expr_ty(r));
|                                        ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/arithmetic.rs:62:62
|
62 |                 let (l_ty, r_ty) = (cx.tables.expr_ty(l), cx.tables.expr_ty(r));
|                                                              ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/arithmetic.rs:72:29
|
72 |                 let ty = cx.tables.expr_ty(arg);
|                             ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/array_indexing.rs:62:25
|
62 |             let ty = cx.tables.expr_ty(array);
|                         ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/array_indexing.rs:65:68
|
65 |                 let constcx = ConstContext::with_tables(cx.tcx, cx.tables);
|                                                                    ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/assign_ops.rs:85:41
|
85 |                             let ty = cx.tables.expr_ty(assignee);
|                                         ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/assign_ops.rs:89:42
|
89 |                             let rty = cx.tables.expr_ty(rhs);
|                                          ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/assign_ops.rs:121:37
|
121 |                         let ty = cx.tables.expr_ty(assignee);
|                                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/assign_ops.rs:125:38
|
125 |                         let rty = cx.tables.expr_ty(rhs);
|                                      ^^^^^^

error: no method named `body_tables` found for type `rustc::ty::TyCtxt<'_, '_, '_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/attrs.rs:161:35
|
161 |         is_relevant_expr(tcx, tcx.body_tables(eid), &tcx.map.body(eid).value)
|                                   ^^^^^^^^^^^

error: no method named `body_tables` found for type `rustc::ty::TyCtxt<'_, '_, '_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/attrs.rs:169:67
|
169 |         ImplItemKind::Method(_, eid) => is_relevant_expr(tcx, tcx.body_tables(eid), &tcx.map.body(eid).value),
|                                                                   ^^^^^^^^^^^

error: no method named `body_tables` found for type `rustc::ty::TyCtxt<'_, '_, '_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/attrs.rs:178:39
|
178 |             is_relevant_expr(tcx, tcx.body_tables(eid), &tcx.map.body(eid).value)
|                                       ^^^^^^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/bit_mask.rs:249:26
|
249 |             let def = cx.tables.qpath_def(qpath, lit.id);
|                          ^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/bit_mask.rs:251:68
|
251 |                 lookup_const_by_id(cx.tcx, def_id, None).and_then(|(l, _tab, _ty)| fetch_int_literal(cx, l))
|                                                                    ^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
|
= note: expected type `(&rustc::hir::Expr, core::option::Option<&rustc::ty::TyS<'_>>)`
= note:    found type `(_, _, _)`

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/booleans.rs:405:28
|
405 |                 if self.cx.tables.node_types[&inner.id].is_bool() {
|                            ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/copies.rs:266:33
|
266 |                     v.insert(cx.tables.pat_ty(pat));
|                                 ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/cyclomatic_complexity.rs:66:25
|
66 |         let ret_ty = cx.tables.node_id_to_type(expr.id);
|                         ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/cyclomatic_complexity.rs:136:34
|
136 |                 let ty = self.cx.tables.node_id_to_type(callee.id);
|                                  ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/drop_forget_ref.rs:64:29
|
59 |         if_let_chain!{[
|         - in this macro invocation
...
64 |             let def_id = cx.tables.qpath_def(qpath, path.id).def_id();
|                             ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/drop_forget_ref.rs:79:29
|
59 |         if_let_chain!{[
|         - in this macro invocation
...
79 |             let arg_ty = cx.tables.expr_ty(arg);
|                             ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/entry.rs:92:38
|
85  |     if_let_chain! {[
|     - in this macro invocation
...
92  |         let obj_ty = walk_ptrs_ty(cx.tables.expr_ty(map));
|                                      ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/escape.rs:78:24
|
78 |             tables: cx.tables,
|                        ^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/escape.rs:83:53
|
83 |         let infcx = cx.tcx.borrowck_fake_infer_ctxt(body.id());
|                                                     ^^^^^^^^^ expected struct `rustc::ty::ParameterEnvironment`, found struct `rustc::hir::BodyId`
|
= note: expected type `rustc::ty::ParameterEnvironment<'_>`
= note:    found type `rustc::hir::BodyId`

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/escape.rs:209:37
|
209 |                 self.tcx.infer_ctxt((), Reveal::All).enter(|infcx| {
|                                     ^^^^^^^^^^^^^^^ expected 3 parameters

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/eta_reduction.rs:64:28
|
64 |             let fn_ty = cx.tables.expr_ty(caller);
|                            ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/eval_order_dependence.rs:68:42
|
68 |                             let var = cx.tables.qpath_def(qpath, lhs.id).def_id();
|                                          ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/eval_order_dependence.rs:129:31
|
129 |                 match self.cx.tables.expr_ty(func).sty {
|                               ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/eval_order_dependence.rs:141:46
|
141 |                 let borrowed_table = self.cx.tables;
|                                              ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/eval_order_dependence.rs:305:60
|
305 |                     if path.segments.len() == 1 && self.cx.tables.qpath_def(qpath, expr.id).def_id() == self.var {
|                                                            ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/format.rs:133:34
|
119 |     if_let_chain! {[
|     - in this macro invocation
...
133 |         let ty = walk_ptrs_ty(cx.tables.pat_ty(&pat[0]));
|                                  ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/functions.rs:178:34
|
178 |                 let ty = self.cx.tables.expr_ty(f);
|                                  ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/functions.rs:188:41
|
188 |                 let base_type = self.cx.tables.method_map[&method_call].ty;
|                                         ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/functions.rs:210:31
|
210 |             let def = self.cx.tables.qpath_def(qpath, ptr.id);
|                               ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/len_zero.rs:206:31
|
206 |     let ty = &walk_ptrs_ty(cx.tables.expr_ty(expr));
|                               ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/let_if_seq.rs:140:32
|
138 |           if_let_chain! {[
|  _________- starting here...
139 | |             let hir::ExprPath(ref qpath) = expr.node,
140 | |             self.id == self.cx.tables.qpath_def(qpath, expr.id).def_id(),
| |                                ^^^^^^
141 | |         ], {
142 | |             self.used = true;
143 | |             return;
144 | |         }}
| |__________- ...ending here: in this macro invocation

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/let_if_seq.rs:163:20
|
157 |     if_let_chain! {[
|     - in this macro invocation
...
163 |         decl == cx.tables.qpath_def(qpath, var.id).def_id(),
|                    ^^^^^^

error: no field `tables` on type `&'v rustc::lint::LateContext<'v, 't>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/lifetimes.rs:249:31
|
249 |                 match self.cx.tables.qpath_def(qpath, ty.id) {
|                               ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/loops.rs:532:60
|
532 |         let constcx = ConstContext::with_tables(cx.tcx, cx.tables);
|                                                            ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/loops.rs:631:17
|
631 |     let ty = cx.tables.expr_ty(arg);
|                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/loops.rs:717:60
|
717 |             let (new_pat_span, kind, ty, mutbl) = match cx.tables.expr_ty(arg).sty {
|                                                            ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/loops.rs:804:56
|
804 |                 if path.segments.len() == 1 && self.cx.tables.qpath_def(qpath, expr.id).def_id() == self.var {
|                                                        ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/loops.rs:813:43
|
806 |                     if_let_chain! {[
|                     - in this macro invocation
...
813 |                         let def = self.cx.tables.qpath_def(seqpath, seqexpr.id);
|                                           ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/loops.rs:892:17
|
892 |     let ty = cx.tables.expr_ty(e);
|                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/loops.rs:1117:27
|
1117 |         let path_res = cx.tables.qpath_def(qpath, expr.id);
|                           ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/map_clone.rs:47:55
|
36 |                         if_let_chain! {[
|                         - in this macro invocation
...
47 |                                 walk_ptrs_ty_depth(cx.tables.pat_ty(&first_arg.pat)).1 == 1
|                                                       ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/map_clone.rs:104:46
|
104 |     } else if match_type(cx, walk_ptrs_ty(cx.tables.expr_ty(arg)), &paths::OPTION) {
|                                              ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/matches.rs:166:21
|
166 |         let ty = cx.tables.expr_ty(ex);
|                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/matches.rs:257:11
|
257 |     if cx.tables.expr_ty(ex).sty == ty::TyBool {
|           ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/matches.rs:308:30
|
308 |     if arms.len() >= 2 && cx.tables.expr_ty(ex).is_integral() {
|                              ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/matches.rs:354:56
|
354 |     let constcx = ConstContext::with_tables(cx.tcx, cx.tables);
|                                                        ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/mem_forget.rs:34:33
|
34 |                 let def_id = cx.tables.qpath_def(qpath, path_expr.id).def_id();
|                                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/mem_forget.rs:36:40
|
36 |                     let forgot_ty = cx.tables.expr_ty(&args[0]);
|                                        ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:606:34
|
606 |                 let self_ty = cx.tables.expr_ty_adjusted(&args[0]);
|                                  ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:715:37
|
715 |                     let arg_ty = cx.tables.expr_ty(arg);
|                                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:771:26
|
771 |         let self_ty = cx.tables.expr_ty(self_expr);
|                          ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:813:17
|
813 |     let ty = cx.tables.expr_ty(expr);
|                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:838:58
|
838 |                                if let ty::TyRef(..) = cx.tables.expr_ty(arg).sty {
|                                                          ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:848:21
|
848 |     let arg_ty = cx.tables.expr_ty(&args[1]);
|                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:866:50
|
866 |         let (self_ty, _) = walk_ptrs_ty_depth(cx.tables.expr_ty(target));
|                                                  ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:887:45
|
887 |     let (obj_ty, _) = walk_ptrs_ty_depth(cx.tables.expr_ty(&args[0]));
|                                             ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:900:35
|
896 |     if_let_chain!{[
|     - in this macro invocation
...
900 |         let Def::Method(did) = cx.tables.qpath_def(path, fun.id),
|                                   ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:914:64
|
914 |     let caller_type = if derefs_to_slice(cx, &iter_args[0], cx.tables.expr_ty(&iter_args[0])).is_some() {
|                                                                ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:916:33
|
916 |     } else if match_type(cx, cx.tables.expr_ty(&iter_args[0]), &paths::VEC) {
|                                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:918:33
|
918 |     } else if match_type(cx, cx.tables.expr_ty(&iter_args[0]), &paths::VEC_DEQUE) {
|                                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:935:22
|
935 |     let expr_ty = cx.tables.expr_ty(&get_args[0]);
|                      ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:991:63
|
991 |         if &*name.node.as_str() == "iter" && may_slice(cx, cx.tables.expr_ty(&args[0])) {
|                                                               ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:1014:45
|
1014 |     let (obj_ty, _) = walk_ptrs_ty_depth(cx.tables.expr_ty(&unwrap_args[0]));
|                                             ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:1039:26
|
1039 |     if match_type(cx, cx.tables.expr_ty(&ok_args[0]), &paths::RESULT) {
|                          ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:1040:30
|
1040 |         let result_type = cx.tables.expr_ty(&ok_args[0]);
|                              ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:1055:26
|
1055 |     if match_type(cx, cx.tables.expr_ty(&map_args[0]), &paths::OPTION) {
|                          ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:1084:26
|
1084 |     if match_type(cx, cx.tables.expr_ty(&map_args[0]), &paths::OPTION) {
|                          ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:1211:39
|
1203 |     if_let_chain! {[
|     - in this macro invocation
...
1211 |         let self_ty = walk_ptrs_ty(cx.tables.expr_ty_adjusted(&args[0][0]));
|                                       ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/methods.rs:1239:72
|
1239 |     if let Ok(ConstVal::Str(r)) = ConstContext::with_tables(cx.tcx, cx.tables).eval(arg, ExprTypeChecked) {
|                                                                        ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/minmax.rs:65:29
|
65 |             let def_id = cx.tables.qpath_def(qpath, path.id).def_id();
|                             ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/misc.rs:315:45
|
315 |                     non_macro_local(cx, &cx.tables.qpath_def(qpath, expr.id)) {
|                                             ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/misc.rs:365:52
|
365 |     let res = ConstContext::with_tables(cx.tcx, cx.tables).eval(expr, ExprTypeChecked);
|                                                    ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/misc.rs:392:30
|
392 |     matches!(walk_ptrs_ty(cx.tables.expr_ty(expr)).sty, ty::TyFloat(_))
|                              ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/misc.rs:400:21
|
400 |                 (cx.tables.expr_ty(&args[0]), snippet(cx, args[0].span, ".."))
|                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/misc.rs:408:25
|
408 |                     (cx.tables.expr_ty(&v[0]), snippet(cx, v[0].span, ".."))
|                         ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/misc.rs:419:23
|
419 |     let other_ty = cx.tables.expr_ty(other);
|                       ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/misc.rs:452:49
|
452 |     args.len() == 1 && matches!(walk_ptrs_ty(cx.tables.expr_ty(&args[0])).sty, ty::TyStr)
|                                                 ^^^^^^

error: no field `tables` on type `&'a rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/mut_mut.rs:71:89
|
71 |             } else if let TyRef(_, TypeAndMut { mutbl: hir::MutMutable, .. }) = self.cx.tables.expr_ty(e).sty {
|                                                                                         ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/mut_reference.rs:37:33
|
37 |         let borrowed_table = cx.tables;
|                                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/mutex_atomic.rs:59:21
|
59 |         let ty = cx.tables.expr_ty(expr);
|                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/needless_borrow.rs:43:39
|
43 |             if let ty::TyRef(..) = cx.tables.expr_ty(inner).sty {
|                                       ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/needless_borrow.rs:45:24
|
45 |                     cx.tables.adjustments.get(&e.id).map(|a| &a.kind) {
|                        ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/needless_borrow.rs:63:44
|
61 |         if_let_chain! {[
|         - in this macro invocation
62 |             let PatKind::Binding(BindingMode::BindByRef(MutImmutable), _, _, _) = pat.node,
63 |             let ty::TyRef(_, ref tam) = cx.tables.pat_ty(pat).sty,
|                                            ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/needless_update.rs:36:25
|
36 |             let ty = cx.tables.expr_ty(expr);
|                         ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/neg_multiply.rs:53:12
|
48 |     if_let_chain!([
|     - in this macro invocation
...
53 |         cx.tables.expr_ty(exp).is_integral()
|            ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/no_effect.rs:72:30
|
72 |                 let def = cx.tables.qpath_def(qpath, callee.id);
|                              ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/no_effect.rs:156:30
|
156 |                 let def = cx.tables.qpath_def(qpath, callee.id);
|                              ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/ok_if_let.rs:53:52
|
45 |         if_let_chain! {[ //begin checking variables
|         - in this macro invocation
...
53 |             let is_result_type = match_type(cx, cx.tables.expr_ty(&result_types[0]), &paths::RESULT);
|                                                    ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/open_options.rs:38:53
|
38 |             let (obj_ty, _) = walk_ptrs_ty_depth(cx.tables.expr_ty(&arguments[0]));
|                                                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/open_options.rs:66:49
|
66 |         let (obj_ty, _) = walk_ptrs_ty_depth(cx.tables.expr_ty(&arguments[0]));
|                                                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/overflow_check_conditional.rs:42:16
|
35 |         if_let_chain! {[
|         - in this macro invocation
...
42 |             cx.tables.expr_ty(ident1).is_integral(),
|                ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/overflow_check_conditional.rs:43:16
|
35 |         if_let_chain! {[
|         - in this macro invocation
...
43 |             cx.tables.expr_ty(ident2).is_integral()
|                ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/overflow_check_conditional.rs:66:16
|
59 |         if_let_chain! {[
|         - in this macro invocation
...
66 |             cx.tables.expr_ty(ident1).is_integral(),
|                ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/overflow_check_conditional.rs:67:16
|
59 |         if_let_chain! {[
|         - in this macro invocation
...
67 |             cx.tables.expr_ty(ident2).is_integral()
|                ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/print.rs:126:37
|
70  |         if_let_chain! {[
|         - in this macro invocation
...
126 |                     let def_id = cx.tables.qpath_def(qpath, args[1].id).def_id();
|                                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/ranges.rs:93:17
|
93 |     let ty = cx.tables.expr_ty(expr);
|                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/regex.rs:94:31
|
91  |         if_let_chain!{[
|         - in this macro invocation
...
94  |             match_type(cx, cx.tables.expr_ty(expr), &paths::REGEX),
|                               ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/regex.rs:121:29
|
116 |         if_let_chain!{[
|         - in this macro invocation
...
121 |             let def_id = cx.tables.qpath_def(qpath, fun.id).def_id();
|                             ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/regex.rs:154:48
|
154 |     match ConstContext::with_tables(cx.tcx, cx.tables).eval(e, ExprTypeChecked) {
|                                                ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/shadow.rs:146:21
|
146 |     let var_ty = cx.tables.node_id_to_type(pat_id);
|                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/strings.rs:117:36
|
117 |     match_type(cx, walk_ptrs_ty(cx.tables.expr_ty(e)), &paths::STRING)
|                                    ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/transmute.rs:91:33
|
91 |                 let def_id = cx.tables.qpath_def(qpath, path_expr.id).def_id();
|                                 ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/transmute.rs:94:38
|
94 |                     let from_ty = cx.tables.expr_ty(&args[0]);
|                                      ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/transmute.rs:95:36
|
95 |                     let to_ty = cx.tables.expr_ty(e);
|                                    ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:114:26
|
114 |             let def = cx.tables.qpath_def(qpath, ast_ty.id);
|                          ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:122:55
|
118 |                     if_let_chain! {[
|                     - in this macro invocation
...
122 |                         let def::Def::Struct(..) = cx.tables.qpath_def(qpath, vec.id),
|                                                       ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:123:55
|
118 |                     if_let_chain! {[
|                     - in this macro invocation
...
123 |                         let Some(did) = opt_def_id(cx.tables.qpath_def(qpath, vec.id)),
|                                                       ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:198:28
|
198 |         let bindtype = &cx.tables.pat_ty(&local.pat).sty;
|                            ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:269:31
|
269 |                 let sty = &cx.tables.expr_ty(left).sty;
|                               ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:513:44
|
513 |             let (cast_from, cast_to) = (cx.tables.expr_ty(ex), cx.tables.expr_ty(expr));
|                                            ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:513:67
|
513 |             let (cast_from, cast_to) = (cx.tables.expr_ty(ex), cx.tables.expr_ty(expr));
|                                                                   ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:757:53
|
757 |                     if ty::TyUint(UintTy::U8) == cx.tables.expr_ty(expr).sty && !in_macro(cx, expr.span) {
|                                                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:830:11
|
830 |     if cx.tables.expr_ty(lhs) != cx.tables.expr_ty(rhs) {
|           ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:830:37
|
830 |     if cx.tables.expr_ty(lhs) != cx.tables.expr_ty(rhs) {
|                                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:872:18
|
872 |     let ty = &cx.tables.expr_ty(expr).sty;
|                  ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:879:57
|
879 |     let cv = match ConstContext::with_tables(cx.tcx, cx.tables).eval(expr, ExprTypeChecked) {
|                                                         ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:1038:18
|
1038 |         match cx.tables.expr_ty(cast_exp).sty {
|                  ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/types.rs:1072:48
|
1072 |     match ConstContext::with_tables(cx.tcx, cx.tables).eval(expr, ExprTypeChecked) {
|                                                ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/vec.rs:39:57
|
38 |           if_let_chain!{[
|  _________- starting here...
39 | |             let ty::TypeVariants::TyRef(_, ref ty) = cx.tables.expr_ty_adjusted(expr).sty,
| |                                                         ^^^^^^
40 | |             let ty::TypeVariants::TySlice(..) = ty.ty.sty,
41 | |             let ExprAddrOf(_, ref addressee) = expr.node,
42 | |             let Some(vec_args) = higher::vec_macro(cx, addressee),
43 | |         ], {
44 | |             check_vec_macro(cx, &vec_args, expr.span);
45 | |         }}
| |__________- ...ending here: in this macro invocation

error: no field `tables` on type `&rustc::lint::LateContext<'a, 'tcx>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/vec.rs:51:37
|
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.map.get_parent(expr.id)),
| |                                     ^^^^^^
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: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/vec.rs:63:53
|
63 |             if ConstContext::with_tables(cx.tcx, cx.tables).eval(len, ExprTypeChecked).is_ok() {
|                                                     ^^^^^^

error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/swap.rs:92:54
|
63  |         if_let_chain!{[
|         - in this macro invocation
...
92  |                             let ty = walk_ptrs_ty(cx.tables.expr_ty(lhs1));
|                                                      ^^^^^^

error: aborting due to 138 previous errors

thread 'main' panicked at 'ChainedError {
error: Could not compile `clippy_lints`.,
cause: process didn't exit successfully: `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.108/src/lib.rs --crate-name clippy_lints --crate-type lib -g -C metadata=5b1324b4c1cede1b -C extra-filename=-5b1324b4c1cede1b --out-dir /home/cratesfyi/clippy-0.0.108/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy-0.0.108/debug/deps --extern quine_mc_cluskey=/home/cratesfyi/clippy-0.0.108/debug/deps/libquine_mc_cluskey-84dd239bf0c39084.rlib --extern regex_syntax=/home/cratesfyi/clippy-0.0.108/debug/deps/libregex_syntax-ca0155d91f8f0131.rlib --extern toml=/home/cratesfyi/clippy-0.0.108/debug/deps/libtoml-1a75b37a708f335b.rlib --extern semver=/home/cratesfyi/clippy-0.0.108/debug/deps/libsemver-60d1aa0e68346373.rlib --extern rustc_serialize=/home/cratesfyi/clippy-0.0.108/debug/deps/librustc_serialize-6b938435173797f7.rlib --extern matches=/home/cratesfyi/clippy-0.0.108/debug/deps/libmatches-3614821dd5ceb75c.rlib --extern unicode_normalization=/home/cratesfyi/clippy-0.0.108/debug/deps/libunicode_normalization-77ce7c413abacd3f.rlib --cap-lints allow` (exit code: 101)
}', src/bin/cratesfyi.rs:132
note: Run with `RUST_BACKTRACE=1` for a backtrace.