Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version rustc 1.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_lints v0.0.111 Compiling nom v1.2.4 Compiling rustc-serialize v0.3.22 Compiling quine-mc_cluskey v0.2.4 Compiling regex-syntax v0.4.0 Compiling unicode-normalization v0.1.3 Compiling matches v0.1.4 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_lints-0.0.111/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.111/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_lints-0.0.111/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.111/debug/deps --cap-lints allow` 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_lints-0.0.111/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.111/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_lints-0.0.111/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.111/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_lints-0.0.111/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.111/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_lints-0.0.111/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.111/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_lints-0.0.111/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.111/debug/deps --extern nom=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libnom-24d7a34b1cbfee73.rlib --cap-lints allow` Compiling toml v0.2.1 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.2.1/src/lib.rs --crate-name toml --crate-type lib -g --cfg feature=\"default\" --cfg feature=\"rustc-serialize\" -C metadata=cf3bfced9e77aba4 -C extra-filename=-cf3bfced9e77aba4 --out-dir /home/cratesfyi/clippy_lints-0.0.111/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.111/debug/deps --extern rustc_serialize=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/librustc_serialize-6b938435173797f7.rlib --cap-lints allow` Documenting clippy_lints v0.0.111 Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/src/lib.rs --crate-name clippy_lints -o /home/cratesfyi/clippy_lints-0.0.111/doc -L dependency=/home/cratesfyi/clippy_lints-0.0.111/debug/deps --extern regex_syntax=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libregex_syntax-ca0155d91f8f0131.rlib --extern rustc_serialize=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/librustc_serialize-6b938435173797f7.rlib --extern unicode_normalization=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libunicode_normalization-77ce7c413abacd3f.rlib --extern quine_mc_cluskey=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libquine_mc_cluskey-84dd239bf0c39084.rlib --extern matches=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libmatches-3614821dd5ceb75c.rlib --extern semver=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libsemver-60d1aa0e68346373.rlib --extern toml=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libtoml-cf3bfced9e77aba4.rlib` error[E0432]: unresolved import `rustc_const_eval::ConstContext` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/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.111/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.111/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.111/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.111/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.111/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.111/src/types.rs:1080:9 | 1080 | 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.111/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.111/src/enum_clike.rs:47:35 | 47 | let constcx = ConstContext::new(cx.tcx, body_id); | ^^^^^^^^^^^^^^^^^ Use of undeclared type or module `ConstContext` error[E0531]: unresolved tuple struct/variant `TyTraitObject` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/src/types.rs:705:13 | 705 | TyTraitObject(ref bounds) => { | ^^^^^^^^^^^^^ no resolution found error[E0433]: failed to resolve. Use of undeclared type or module `ConstContext` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/src/types.rs:890:20 | 890 | 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.111/src/consts.rs:296:27 | 296 | 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.111/src/consts.rs:300:43 | 300 | let substs = Some(lcx.tables | ^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/src/consts.rs:303:33 | 303 | 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 associated item named `Array` found for type `syntax::ast::ExprKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/src/utils/sugg.rs:119:13 | 119 | ast::ExprKind::Array(..) | | ^^^^^^^^^^^^^^^^^^^^^^^^ error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/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.111/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.111/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.111/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.111/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.111/src/utils/mod.rs:335:8 | 335 | cx.tables.qpath_def(qpath, id) | ^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/src/utils/mod.rs:579:18 | 579 | message: vec![(help_msg, rustc_errors::snippet::Style::LabelPrimary)], | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `collections::string::String`, found struct `collections::vec::Vec` | = note: expected type `collections::string::String` = note: found type `collections::vec::Vec<(collections::string::String, rustc_errors::snippet::Style)>` = help: here are some functions which might fulfill your needs: - .remove(...) - .swap_remove(...) = note: this error originates in a macro outside of the current crate error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/src/utils/mod.rs:617:8 | 617 | 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.111/src/utils/mod.rs:782:23 | 782 | 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.111/src/utils/mod.rs:806:21 | 806 | 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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/src/assign_ops.rs:122:37 | 122 | 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.111/src/assign_ops.rs:126:38 | 126 | 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.111/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.111/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.111/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.111/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.111/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.111/src/booleans.rs:403:28 | 403 | 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.111/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.111/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.111/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.111/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.111/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.111/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.111/src/escape.rs:78:24 | 78 | tables: cx.tables, | ^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/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.111/src/escape.rs:209:37 | 209 | self.tcx.infer_ctxt((), Reveal::All).enter(|infcx| if let Ok(layout) = inner.layout(&infcx) { | ^^^^^^^^^^^^^^^ expected 3 parameters error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/src/lifetimes.rs:249:31 | 249 | match self.cx.tables.qpath_def(qpath, ty.id) { | ^^^^^^ error: no field `lhs_ty` on type `&rustc::hir::WhereEqPredicate` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/src/lifetimes.rs:329:45 | 329 | walk_ty(&mut visitor, &pred.lhs_ty); | ^^^^^^ error: no field `rhs_ty` on type `&rustc::hir::WhereEqPredicate` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/src/lifetimes.rs:330:45 | 330 | walk_ty(&mut visitor, &pred.rhs_ty); | ^^^^^^ error: no field `tables` on type `&rustc::lint::LateContext<'_, '_>` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/src/methods.rs:587:34 | 587 | 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.111/src/methods.rs:696:37 | 696 | 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.111/src/methods.rs:752:26 | 752 | 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.111/src/methods.rs:800:17 | 800 | 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.111/src/methods.rs:825:58 | 825 | 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.111/src/methods.rs:838:50 | 838 | 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.111/src/methods.rs:859:45 | 859 | 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.111/src/methods.rs:870:35 | 866 | if_let_chain!{[ | - in this macro invocation ... 870 | 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.111/src/methods.rs:884:64 | 884 | 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.111/src/methods.rs:886:33 | 886 | } 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.111/src/methods.rs:888:33 | 888 | } 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.111/src/methods.rs:905:22 | 905 | 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.111/src/methods.rs:961:63 | 961 | 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.111/src/methods.rs:984:45 | 984 | 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.111/src/methods.rs:1009:26 | 1009 | 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.111/src/methods.rs:1010:30 | 1010 | 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.111/src/methods.rs:1025:26 | 1025 | 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.111/src/methods.rs:1054:26 | 1054 | 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.111/src/methods.rs:1181:39 | 1173 | if_let_chain! {[ | - in this macro invocation ... 1181 | 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.111/src/methods.rs:1209:72 | 1209 | 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.111/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.111/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.111/src/misc.rs:363:52 | 363 | 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.111/src/misc.rs:390:30 | 390 | 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.111/src/misc.rs:398:21 | 398 | (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.111/src/misc.rs:406:25 | 406 | (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.111/src/misc.rs:417:23 | 417 | 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.111/src/misc.rs:450:49 | 450 | 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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/src/no_effect.rs:158:30 | 158 | 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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/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.111/src/types.rs:768:53 | 768 | 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.111/src/types.rs:841:11 | 841 | 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.111/src/types.rs:841:37 | 841 | 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.111/src/types.rs:883:18 | 883 | 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.111/src/types.rs:890:57 | 890 | 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.111/src/types.rs:1049:18 | 1049 | 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.111/src/types.rs:1083:48 | 1083 | 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.111/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.111/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.111/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.111/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: Compilation failed, aborting rustdoc thread 'main' panicked at 'ChainedError { error: Could not document `clippy_lints`., cause: process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.111/src/lib.rs --crate-name clippy_lints -o /home/cratesfyi/clippy_lints-0.0.111/doc -L dependency=/home/cratesfyi/clippy_lints-0.0.111/debug/deps --extern regex_syntax=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libregex_syntax-ca0155d91f8f0131.rlib --extern rustc_serialize=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/librustc_serialize-6b938435173797f7.rlib --extern unicode_normalization=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libunicode_normalization-77ce7c413abacd3f.rlib --extern quine_mc_cluskey=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libquine_mc_cluskey-84dd239bf0c39084.rlib --extern matches=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libmatches-3614821dd5ceb75c.rlib --extern semver=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libsemver-60d1aa0e68346373.rlib --extern toml=/home/cratesfyi/clippy_lints-0.0.111/debug/deps/libtoml-cf3bfced9e77aba4.rlib` (exit code: 101) }', src/bin/cratesfyi.rs:132 note: Run with `RUST_BACKTRACE=1` for a backtrace.