You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now if I run cargo install clippy on a system where clippy has never been installed before, I get a whole stack of errors, the full text of which is under the fold. I’m a bit of a Rust novice, but it looks like maybe something is going wrong with the ty module?
Full error output from cargo install clippy
$ cargo install clippy Updating registry `https://github.com/rust-lang/crates.io-index` Downloading clippy v0.0.112 Installing clippy v0.0.112 Downloading cargo_metadata v0.1.1 Downloading clippy_lints v0.0.112 Downloading serde_derive v0.9.6 Downloading serde_json v0.9.5 Downloading serde v0.9.6 Downloading serde_codegen_internals v0.13.0 Downloading itoa v0.3.0 Downloading dtoa v0.4.0 Downloading quine-mc_cluskey v0.2.4 Downloading semver v0.2.3 Downloading nom v1.2.4 Compiling quine-mc_cluskey v0.2.4 Compiling serde v0.9.6 Compiling dtoa v0.4.0 Compiling regex-syntax v0.4.0 Compiling rustc-serialize v0.3.22 Compiling quote v0.3.12 Compiling itoa v0.3.0 Compiling nom v1.2.4 Compiling num-traits v0.1.36 Compiling unicode-normalization v0.1.3 Compiling unicode-xid v0.0.4 Compiling syn v0.11.4 Compiling semver v0.2.3 Compiling matches v0.1.4 Compiling serde_json v0.9.5 Compiling toml v0.2.1 Compiling serde_codegen_internals v0.13.0 Compiling clippy_lints v0.0.112error[E0412]: cannot find type `Tables` in module `ty` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/attrs.rs:184:48 |184 | fn is_relevant_block(tcx: ty::TyCtxt, tables: &ty::Tables, block: &Block) -> bool { | ^^^^^^^^^^ not found in `ty`error[E0412]: cannot find type `Tables` in module `ty` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/attrs.rs:197:47 |197 | fn is_relevant_expr(tcx: ty::TyCtxt, tables: &ty::Tables, expr: &Expr) -> bool { | ^^^^^^^^^^ not found in `ty`error[E0531]: cannot find tuple struct/variant `TyBox` in module `ty` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/escape.rs:44:9 |44 | ty::TyBox(inner) => !inner.is_trait(), | ^^^^^^^^^ not found in `ty`error[E0412]: cannot find type `Tables` in module `ty` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/escape.rs:52:17 |52 | tables: &'a ty::Tables<'tcx>, | ^^^^^^^^^^^^^^^^ not found in `ty`error[E0531]: cannot find tuple struct/variant `TyBox` in module `ty` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/escape.rs:208:13 |208 | ty::TyBox(inner) => { | ^^^^^^^^^ not found in `ty`error[E0531]: cannot find tuple struct/variant `TyBox` in module `ty` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/methods.rs:955:13 |955 | ty::TyBox(inner) => may_slice(cx, inner), | ^^^^^^^^^ not found in `ty`error[E0531]: cannot find tuple struct/variant `TyBox` in module `ty` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/methods.rs:970:13 |970 | ty::TyBox(inner) => { | ^^^^^^^^^ not found in `ty` Compiling serde_derive v0.9.6error: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/inspector.rs:335:36 |335 | print_expr(cx, &cx.tcx.map.body(body_id).value, indent + 1); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/inspector.rs:341:22 |341 | let did = cx.tcx.map.local_def_id(item.id); | ^^^ unknown fielderror[E0308]: mismatched types --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/internal_lints.rs:145:19 |145 | if let TyRptr(Some(_), MutTy { ty: ref inner, mutbl: MutImmutable }) = ty.node { | ^^^^^^^ expected struct `rustc::hir::Lifetime`, found enum `core::option::Option` | = note: expected type `rustc::hir::Lifetime` found type `core::option::Option<_>`error: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/mod.rs:365:28 |365 | let parent_id = cx.tcx.map.get_parent(expr.id); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/mod.rs:366:18 |366 | match cx.tcx.map.find(parent_id) { | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/mod.rs:461:23 |461 | let map = &cx.tcx.map; | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/mod.rs:475:23 |475 | let map = &cx.tcx.map; | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/mod.rs:482:30 |482 | match cx.tcx.map.body(eid).value.node { | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/mod.rs:765:28 |765 | let fn_def_id = cx.tcx.map.local_def_id(fn_item); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/attrs.rs:161:58 |161 | is_relevant_expr(tcx, tcx.body_tables(eid), &tcx.map.body(eid).value) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/attrs.rs:169:90 |169 | ImplItemKind::Method(_, eid) => is_relevant_expr(tcx, tcx.body_tables(eid), &tcx.map.body(eid).value), | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/attrs.rs:178:62 |178 | is_relevant_expr(tcx, tcx.body_tables(eid), &tcx.map.body(eid).value) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/derive.rs:125:51 |96 | if_let_chain! {[ | - in this macro invocation...125 | if let Some(node_id) = cx.tcx.map.as_local_node_id(impl_id) { | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/derive.rs:127:36 |96 | if_let_chain! {[ | - in this macro invocation...127 | cx.tcx.map.span(node_id), | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/eta_reduction.rs:52:27 |52 | let body = cx.tcx.map.body(eid); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/eval_order_dependence.rs:179:27 |179 | let map = &vis.cx.tcx.map; | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'b, 'b>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/format.rs:81:43 |76 | if_let_chain! {[ | - in this macro invocation...81 | let Some(NodeItem(decl)) = cx.tcx.map.find(decl.id), | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'b, 'b>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/format.rs:84:46 |76 | if_let_chain! {[ | - in this macro invocation...84 | let ExprAddrOf(_, ref expr) = cx.tcx.map.body(*expr).value.node, // &["…", "…", …] | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/len_zero.rs:96:34 |96 | let did = cx.tcx.map.local_def_id(item.id.node_id); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/len_zero.rs:144:33 |144 | let def_id = cx.tcx.map.local_def_id(item.id); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/len_zero.rs:123:34 |123 | let did = cx.tcx.map.local_def_id(item.id.node_id); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/loops.rs:672:23 |672 | let map = &cx.tcx.map; | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/loops.rs:1119:34 |1119 | let node_id = cx.tcx.map.as_local_node_id(def_id).expect("That DefId should be valid"); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/methods.rs:801:25 |801 | let parent = cx.tcx.map.get_parent(expr.id); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/misc.rs:480:40 |480 | if let Some(span) = cx.tcx.map.span_if_local(id) { | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'c, 't, 't>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/new_without_default.rs:163:20 |163 | cx.tcx.map.span_if_local(adt_def.did) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/print.rs:138:23 |138 | let map = &cx.tcx.map; | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/ptr.rs:94:28 |94 | let fn_def_id = cx.tcx.map.local_def_id(fn_id); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/shadow.rs:341:36 |341 | check_expr(cx, &cx.tcx.map.body(body_id).value, bindings); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/shadow.rs:350:53 |350 | TyTypeof(body_id) => check_expr(cx, &cx.tcx.map.body(body_id).value, bindings), | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/consts.rs:266:47 |266 | &lcx.tcx.map.body(number_id).value, | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/hir.rs:117:43 |117 | self.eq_expr(&self.cx.tcx.map.body(ll_id).value, &self.cx.tcx.map.body(rl_id).value) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/hir.rs:117:79 |117 | self.eq_expr(&self.cx.tcx.map.body(ll_id).value, &self.cx.tcx.map.body(rl_id).value) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/hir.rs:220:43 |220 | self.eq_expr(&self.cx.tcx.map.body(ll_id).value, &self.cx.tcx.map.body(rl_id).value) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/hir.rs:220:79 |220 | self.eq_expr(&self.cx.tcx.map.body(ll_id).value, &self.cx.tcx.map.body(rl_id).value) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/hir.rs:373:45 |373 | self.hash_expr(&self.cx.tcx.map.body(eid).value); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/hir.rs:438:45 |438 | self.hash_expr(&self.cx.tcx.map.body(l_id).value); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/inspector.rs:68:40 |68 | print_expr(cx, &cx.tcx.map.body(body_id).value, 1); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/internal_lints.rs:117:46 |117 | collector.visit_expr(&cx.tcx.map.body(body_id).value); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/utils/internal_lints.rs:178:44 |178 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:146:64 |146 | let parent_fn = cx.tcx.map.get_parent(e.id); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:147:66 |147 | let parent_impl = cx.tcx.map.get_parent(parent_fn); | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/assign_ops.rs:151:89 |151 | let hir::map::Node::NodeItem(item) = cx.tcx.map.get(parent_impl), | ^^^ unknown field...161 | if ops!(op.node, | - in this macro invocationerror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/block_in_if_condition.rs:60:36 |60 | let body = self.cx.tcx.map.body(eid); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/block_in_if_condition.rs:70:44 |70 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/cyclomatic_complexity.rs:102:29 |102 | let def_id = cx.tcx.map.local_def_id(node_id); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/derive.rs:76:46 |76 | let ty = cx.tcx.item_type(cx.tcx.map.local_def_id(item.id)); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/entry.rs:151:44 |151 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/enum_clike.rs:48:58 |48 | let bad = match constcx.eval(&cx.tcx.map.body(body_id).value, EvalHint::ExprTypeChecked) { | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/escape.rs:92:30 |92 | cx.tcx.map.span(node), | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/escape.rs:111:29 |111 | let map = &self.tcx.map; | ^^^ unknown fielderror: the type of this value must be known in this context --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/escape.rs:168:35 |168 | .map(|a| &a.kind) { | ^^^^^^error: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/escape.rs:183:34 |183 | .map | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/eval_order_dependence.rs:159:44 |159 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/eval_order_dependence.rs:345:44 |345 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/functions.rs:83:60 |83 | let is_impl = if let Some(NodeItem(item)) = cx.tcx.map.find(cx.tcx.map.get_parent_node(nodeid)) { | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/functions.rs:83:76 |83 | let is_impl = if let Some(NodeItem(item)) = cx.tcx.map.find(cx.tcx.map.get_parent_node(nodeid)) { | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/functions.rs:116:35 |116 | let body = cx.tcx.map.body(eid); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/functions.rs:203:56 |203 | intravisit::NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/let_if_seq.rs:148:61 |148 | hir::intravisit::NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror[E0308]: mismatched types --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/lifetimes.rs:278:20 |278 | TyRptr(None, _) => { | ^^^^ expected struct `rustc::hir::Lifetime`, found enum `core::option::Option` | = note: expected type `rustc::hir::Lifetime` found type `core::option::Option<_>`error: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/loops.rs:789:44 |789 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/loops.rs:817:59 |806 | if_let_chain! {[ | - in this macro invocation...817 | let node_id = self.cx.tcx.map.as_local_node_id(def_id).unwrap(); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/loops.rs:839:44 |839 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/loops.rs:881:44 |881 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/loops.rs:1024:44 |1024 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/loops.rs:1111:44 |1111 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/map_clone.rs:34:43 |34 | let body = cx.tcx.map.body(closure_eid); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/methods.rs:617:29 |617 | let parent = cx.tcx.map.get_parent(implitem.id); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/methods.rs:618:27 |618 | let item = cx.tcx.map.expect_item(parent); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/methods.rs:622:69 |619 | if_let_chain! {[ | - in this macro invocation...622 | let Some(first_arg) = iter_input_pats(&sig.decl, cx.tcx.map.body(id)).next(), | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/methods.rs:638:46 |619 | if_let_chain! {[ | - in this macro invocation...638 | let ty = cx.tcx.item_type(cx.tcx.map.local_def_id(item.id)); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/missing_doc.rs:149:29 |149 | let def_id = cx.tcx.map.local_def_id(impl_item.id); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/mut_mut.rs:94:56 |94 | intravisit::NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/new_without_default.rs:113:39 |113 | .item_type(cx.tcx.map.local_def_id(cx.tcx.map.get_parent(id))); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/new_without_default.rs:113:63 |113 | .item_type(cx.tcx.map.local_def_id(cx.tcx.map.get_parent(id))); | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/ptr.rs:66:48 |66 | if let Some(NodeItem(it)) = cx.tcx.map.find(cx.tcx.map.get_parent(item.id)) { | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/ptr.rs:66:64 |66 | if let Some(NodeItem(it)) = cx.tcx.map.find(cx.tcx.map.get_parent(item.id)) { | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/shadow.rs:385:44 |385 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/types.rs:75:51 |75 | if let Some(map::NodeItem(item)) = cx.tcx.map.find(cx.tcx.map.get_parent(id)) { | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'_, '_, '_>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/types.rs:75:67 |75 | if let Some(map::NodeItem(item)) = cx.tcx.map.find(cx.tcx.map.get_parent(id)) { | ^^^ unknown fielderror[E0023]: this pattern has 1 field, but the corresponding tuple variant has 2 fields --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/types.rs:705:13 |705 | TyTraitObject(ref bounds) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 1error: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/types.rs:728:44 |728 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/unused_label.rs:86:44 |86 | NestedVisitorMap::All(&self.cx.tcx.map) | ^^^ unknown fielderror: no field `map` on type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` --> /Users/alexwlchan/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.112/src/vec.rs:51:75 |48 | if_let_chain!{[ | _________- starting here...49 | | let Some((_, arg, _)) = higher::for_loop(expr),50 | | let Some(vec_args) = higher::vec_macro(cx, arg),51 | | is_copy(cx, vec_type(cx.tables.expr_ty_adjusted(arg)), cx.tcx.map.get_parent(expr.id)), | | ^^^ unknown field52 | | ], {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 invocationerror: aborting due to 118 previous errorserror: Could not compile `clippy_lints`.Build failed, waiting for other jobs to finish...error: failed to compile `clippy v0.0.112`, intermediate artifacts can be found at `/var/folders/0d/p_z4b6f90g1gc8h9y87w0td80000gn/T/cargo-install.oMwTt8JNMuh7`Caused by: build failed
Uh oh!
There was an error while loading. Please reload this page.
I’m having issues getting clippy to install with the latest version of the Rust nightlies.
I’ve installed the latest version of the Rust nightlies using
rustup
:Now if I run
cargo install clippy
on a system whereclippy
has never been installed before, I get a whole stack of errors, the full text of which is under the fold. I’m a bit of a Rust novice, but it looks like maybe something is going wrong with thety
module?Full error output from
cargo install clippy
I’m using macOS 10.12.1, although I see very similar issues in an Ubuntu 12.04 container running on Travis, which has the same rustc/cargo versions as above.
The text was updated successfully, but these errors were encountered: