Skip to content

Fails to build with latest nightly (7979dd608 2016-04-07) #844

Closed
@zetok

Description

@zetok
$ rustc --version --verbose
rustc 1.9.0-nightly (7979dd608 2016-04-07)
binary: rustc
commit-hash: 7979dd6089ee5cba39cfbe6e880a3edeb7fff788
commit-date: 2016-04-07
host: x86_64-unknown-linux-gnu
release: 1.9.0-nightly
Compiling clippy v0.0.62
/home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/derive.rs:98:39: 98:56 error: no method named `borrow_impl_lists` found for type `&rustc::ty::TraitDef<'_>` in the current scope
/home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/derive.rs:98         let peq_impls = peq_trait_def.borrow_impl_lists(cx.tcx).1;
                                                                                                                                 ^~~~~~~~~~~~~~~~~
/home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/utils/mod.rs:105:12: 105:46 note: in this expansion of if_let_chain! (defined in /home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/utils/mod.rs)
/home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/derive.rs:91:5: 136:7 note: in this expansion of if_let_chain! (defined in /home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/utils/mod.rs)
/home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/derive.rs:103:34: 103:58 error: the type of this value must be known in this context
/home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/derive.rs:103             let Some(impl_ids) = peq_impls.get(&simpl_ty)
                                                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/utils/mod.rs:90:12: 90:46 note: in this expansion of if_let_chain! (defined in /home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/utils/mod.rs)
/home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/derive.rs:101:9: 135:11 note: in this expansion of if_let_chain! (defined in /home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/utils/mod.rs)
/home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/utils/mod.rs:105:12: 105:46 note: in this expansion of if_let_chain! (defined in /home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/utils/mod.rs)
/home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/derive.rs:91:5: 136:7 note: in this expansion of if_let_chain! (defined in /home/zetok/.cargo/registry/src/mygithub.libinneed.workers.dev-88ac128001ac3a9a/clippy-0.0.62/src/utils/mod.rs)
error: aborting due to 2 previous errors
Could not compile `clippy`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions