Skip to content

"cargo install clippy" fails on rustc 1.11.0-nightly (7d2f75a95 2016-06-09) #1003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
peschkaj opened this issue Jun 10, 2016 · 4 comments
Closed

Comments

@peschkaj
Copy link

peschkaj commented Jun 10, 2016

Running rust nightly on Windows 10 using the MSVC rust, attempting to build clippy results in:

C:\Users\jeremiah
λ cargo install clippy
    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling regex-syntax v0.3.3
   Compiling quine-mc_cluskey v0.2.2
   Compiling rustc-serialize v0.3.19
   Compiling nom v1.2.3
   Compiling unicode-normalization v0.1.2
   Compiling matches v0.1.2
   Compiling semver v0.2.3
   Compiling toml v0.1.30
   Compiling clippy_lints v0.0.75
error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\drop_ref.rs:38:64
   |>
38 |>                 let def_id = cx.tcx.def_map.borrow()[&path.id].def_id();
   |>                                                                ^^^^^^

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\enum_glob_use.rs:47:76
   |>
47 |>                     if let Some(node_id) = cx.tcx.map.as_local_node_id(def.def_id()) {
   |>                                                                            ^^^^^^

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\enum_glob_use.rs:54:72
   |>
54 |>                         let child = cx.sess().cstore.item_children(def.def_id());
   |>                                                                        ^^^^^^

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:72:39
   |>
72 |>                 !used_in_expr(cx, def.def_id(), cond),
   |>                                       ^^^^^^
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:64:13: 126:15: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:73:56
   |>
73 |>                 let Some(value) = check_assign(cx, def.def_id(), then),
   |>                                                        ^^^^^^
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:72:12: 72:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:64:13: 126:15: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:74:39
   |>
74 |>                 !used_in_expr(cx, def.def_id(), value),
   |>                                       ^^^^^^
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:72:12: 72:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:64:13: 126:15: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:80:69
   |>
80 |>                         if let Some(default) = check_assign(cx, def.def_id(), else_) {
   |>                                                                     ^^^^^^
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:72:12: 72:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:64:13: 126:15: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
   --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:142:28
    |>
142 |>             self.id == def.def_id(),
    |>                            ^^^^^^
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:139:9: 146:11: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
   --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:158:21
    |>
158 |>         decl == def.def_id(),
    |>                     ^^^^^^
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\let_if_seq.rs:152:5: 175:7: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)

error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\mem_forget.rs:30:69
   |>
30 |>                 let def_id = cx.tcx.def_map.borrow()[&path_expr.id].def_id();
   |>                                                                     ^^^^^^

error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\minmax.rs:58:60
   |>
58 |>             let def_id = cx.tcx.def_map.borrow()[&path.id].def_id();
   |>                                                            ^^^^^^

error: expected an array or slice, found `&[syntax::codemap::Spanned<rustc::hir::Stmt_>]` [E0529]
   --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\needless_bool.rs:158:10
    |>
158 |>         ([], Some(e)) => fetch_bool_expr(&**e),
    |>          ^^
help: the semantics of slice patterns changed recently; see issue #23121

error: expected an array or slice, found `&[syntax::codemap::Spanned<rustc::hir::Stmt_>]` [E0529]
   --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\needless_bool.rs:159:10
    |>
159 |>         ([ref e], None) => {
    |>          ^^^^^^^
help: the semantics of slice patterns changed recently; see issue #23121

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
   --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\regex.rs:106:30
    |>
106 |>             let def_id = def.def_id();
    |>                              ^^^^^^
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:72:12: 72:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\regex.rs:101:9: 120:11: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)

error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\transmute.rs:63:69
   |>
63 |>                 let def_id = cx.tcx.def_map.borrow()[&path_expr.id].def_id();
   |>                                                                     ^^^^^^

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\types.rs:59:29
   |>
59 |>                 if Some(did.def_id()) == cx.tcx.lang_items.owned_box() {
   |>                             ^^^^^^

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\types.rs:68:52
   |>
68 |>                             match_def_path(cx, did.def_id(), &paths::VEC),
   |>                                                    ^^^^^^
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs:57:12: 57:46: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)
.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\types.rs:60:21: 77:22: note: in this expansion of if_let_chain! (defined in .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\utils/mod.rs)

error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
  --> .cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.75\src\types.rs:78:50
   |>
78 |>                 } else if match_def_path(cx, did.def_id(), &paths::LINKED_LIST) {
   |>                                                  ^^^^^^

error: aborting due to 18 previous errors
error: failed to compile `clippy v0.0.75`, intermediate artifacts can be found at `C:\Users\jeremiah\AppData\Local\Temp\cargo-install.XTpQBpWOIaXZ`

Caused by:
  Could not compile `clippy_lints`.

To learn more, run the command again with --verbose.
@peschkaj peschkaj changed the title "cargo install clippy" "cargo install clippy" fails on rustc 1.11.0-nightly (7d2f75a95 2016-06-09) Jun 10, 2016
@lily-mara
Copy link

Build also fails on OSX with rustc 1.11.0-nightly (7d2f75a95 2016-06-09) using clippy as crate dependency. My error is:

/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/drop_ref.rs:38:64: 38:70 error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/drop_ref.rs:38                 let def_id = cx.tcx.def_map.borrow()[&path.id].def_id();
                                                                                                                                                                     ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/enum_glob_use.rs:47:76: 47:82 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/enum_glob_use.rs:47                     if let Some(node_id) = cx.tcx.map.as_local_node_id(def.def_id()) {
                                                                                                                                                                                      ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/enum_glob_use.rs:54:72: 54:78 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/enum_glob_use.rs:54                         let child = cx.sess().cstore.item_children(def.def_id());
                                                                                                                                                                                  ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:72:39: 72:45 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:72                 !used_in_expr(cx, def.def_id(), cond),
                                                                                                                                              ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:64:13: 126:15 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:73:56: 73:62 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:73                 let Some(value) = check_assign(cx, def.def_id(), then),
                                                                                                                                                               ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:72:12: 72:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:64:13: 126:15 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:74:39: 74:45 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:74                 !used_in_expr(cx, def.def_id(), value),
                                                                                                                                              ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:72:12: 72:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:64:13: 126:15 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:80:69: 80:75 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:80                         if let Some(default) = check_assign(cx, def.def_id(), else_) {
                                                                                                                                                                            ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:72:12: 72:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:64:13: 126:15 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:142:28: 142:34 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:142             self.id == def.def_id(),
                                                                                                                                    ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:139:9: 146:11 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:158:21: 158:27 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:158         decl == def.def_id(),
                                                                                                                             ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:152:5: 175:7 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/mem_forget.rs:30:69: 30:75 error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/mem_forget.rs:30                 let def_id = cx.tcx.def_map.borrow()[&path_expr.id].def_id();
                                                                                                                                                                            ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/minmax.rs:58:60: 58:66 error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/minmax.rs:58             let def_id = cx.tcx.def_map.borrow()[&path.id].def_id();
                                                                                                                                                               ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:158:10: 158:12 error: expected an array or slice, found `&[syntax::codemap::Spanned<rustc::hir::Stmt_>]` [E0529]
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:158         ([], Some(e)) => fetch_bool_expr(&**e),
                                                                                                                     ^~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:158:10: 158:12 help: the semantics of slice patterns changed recently; see issue #23121
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:159:10: 159:17 error: expected an array or slice, found `&[syntax::codemap::Spanned<rustc::hir::Stmt_>]` [E0529]
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:159         ([ref e], None) => {
                                                                                                                     ^~~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:159:10: 159:17 help: the semantics of slice patterns changed recently; see issue #23121
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/regex.rs:106:30: 106:36 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/regex.rs:106             let def_id = def.def_id();
                                                                                                                                 ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:72:12: 72:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/regex.rs:101:9: 120:11 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/transmute.rs:63:69: 63:75 error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/transmute.rs:63                 let def_id = cx.tcx.def_map.borrow()[&path_expr.id].def_id();
                                                                                                                                                                           ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:59:29: 59:35 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:59                 if Some(did.def_id()) == cx.tcx.lang_items.owned_box() {
                                                                                                                               ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:68:52: 68:58 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:68                             match_def_path(cx, did.def_id(), &paths::VEC),
                                                                                                                                                      ^~~~~~
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:60:21: 77:22 note: in this expansion of if_let_chain! (defined in /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:78:50: 78:56 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
/Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:78                 } else if match_def_path(cx, did.def_id(), &paths::LINKED_LIST) {

@linuskr
Copy link

linuskr commented Jun 10, 2016

same on linux, with rustc 1.11.0-nightly (7d2f75a 2016-06-09):

 % cargo install clippy
    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling quine-mc_cluskey v0.2.2
   Compiling nom v1.2.3
   Compiling unicode-normalization v0.1.2
   Compiling regex-syntax v0.3.3
   Compiling rustc-serialize v0.3.19
   Compiling matches v0.1.2
   Compiling semver v0.2.3
   Compiling toml v0.1.30
   Compiling clippy_lints v0.0.75
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/drop_ref.rs:38:64: 38:70 error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/drop_ref.rs:38                 let def_id = cx.tcx.def_map.borrow()[&path.id].def_id();
                                                                                                                                                      ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/enum_glob_use.rs:47:76: 47:82 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current sco
pe
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/enum_glob_use.rs:47                     if let Some(node_id) = cx.tcx.map.as_local_node_id(def.def_id()) {
                                                                                                                                                                       ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/enum_glob_use.rs:54:72: 54:78 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current sco
pe
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/enum_glob_use.rs:54                         let child = cx.sess().cstore.item_children(def.def_id());
                                                                                                                                                                   ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:72:39: 72:45 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:72                 !used_in_expr(cx, def.def_id(), cond),
                                                                                                                               ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:64:13: 126:15 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/c
lippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:73:56: 73:62 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:73                 let Some(value) = check_assign(cx, def.def_id(), then),
                                                                                                                                                ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:72:12: 72:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:64:13: 126:15 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/c
lippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:74:39: 74:45 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:74                 !used_in_expr(cx, def.def_id(), value),
                                                                                                                               ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:72:12: 72:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:64:13: 126:15 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/c
lippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:80:69: 80:75 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:80                         if let Some(default) = check_assign(cx, def.def_id(), else_) {
                                                                                                                                                             ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:72:12: 72:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:64:13: 126:15 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/c
lippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:142:28: 142:34 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scop
e
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:142             self.id == def.def_id(),
                                                                                                                     ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:139:9: 146:11 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/c
lippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:158:21: 158:27 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scop
e
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:158         decl == def.def_id(),
                                                                                                              ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/cli
ppy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/let_if_seq.rs:152:5: 175:7 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/mem_forget.rs:30:69: 30:75 error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/mem_forget.rs:30                 let def_id = cx.tcx.def_map.borrow()[&path_expr.id].def_id();
                                                                                                                                                             ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/minmax.rs:58:60: 58:66 error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/minmax.rs:58             let def_id = cx.tcx.def_map.borrow()[&path.id].def_id();
                                                                                                                                                ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:158:10: 158:12 error: expected an array or slice, found `&[syntax::codemap::Spanned<rustc::hir::Stmt_>]` [E0529]
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:158         ([], Some(e)) => fetch_bool_expr(&**e),
                                                                                                      ^~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:158:10: 158:12 help: the semantics of slice patterns changed recently; see issue #23121
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:159:10: 159:17 error: expected an array or slice, found `&[syntax::codemap::Spanned<rustc::hir::Stmt_>]` [E0529]
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:159         ([ref e], None) => {
                                                                                                      ^~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/needless_bool.rs:159:10: 159:17 help: the semantics of slice patterns changed recently; see issue #23121
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/regex.rs:106:30: 106:36 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/regex.rs:106             let def_id = def.def_id();
                                                                                                                  ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:72:12: 72:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/regex.rs:101:9: 120:11 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/transmute.rs:63:69: 63:75 error: no method named `def_id` found for type `rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/transmute.rs:63                 let def_id = cx.tcx.def_map.borrow()[&path_expr.id].def_id();
                                                                                                                                                            ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:59:29: 59:35 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:59                 if Some(did.def_id()) == cx.tcx.lang_items.owned_box() {
                                                                                                                ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:68:52: 68:58 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:68                             match_def_path(cx, did.def_id(), &paths::VEC),
                                                                                                                                       ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs:57:12: 57:46 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:60:21: 77:22 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/utils/mod.rs)
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:78:50: 78:56 error: no method named `def_id` found for type `&rustc::hir::def::PathResolution` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.75/src/types.rs:78                 } else if match_def_path(cx, did.def_id(), &paths::LINKED_LIST) {
                                                                                                                                     ^~~~~~
error: aborting due to 18 previous errors
error: failed to compile `clippy v0.0.75`, intermediate artifacts can be found at `/tmp/cargo-install.AlWMWhb5Cvum` 

@mcarton
Copy link
Member

mcarton commented Jun 10, 2016

Should be fixed in a minute, I'm publishing Clippy 0.0.76.

@peschkaj
Copy link
Author

👍

On Fri, Jun 10, 2016 at 11:26 AM Martin Carton notifications@github.com
wrote:

Should be fixed in a minutes, I'm publishing Clippy 0.0.76.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Manishearth/rust-clippy/issues/1003#issuecomment-225259443,
or mute the thread
https://github.com/notifications/unsubscribe/AAEXktcFJP3uIUf8fWrLxQiaAI6s76_9ks5qKaxvgaJpZM4IzAHz
.

Jeremiah Peschka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants