Skip to content

Clippy 0.0.133 doesn't build on nightly rust. #1767

Closed
@o01eg

Description

@o01eg

I got error when trying to install clippy:

error: no method named `populate_implementations_for_trait_if_necessary` found for type `rustc::ty::TyCtxt<'a, 'tcx, 'tcx>` in the current scope
   --> /home/o01eg/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.133/src/utils/mod.rs:328:12
    |
328 |     cx.tcx.populate_implementations_for_trait_if_necessary(trait_id);
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: Could not compile `clippy_lints`.

It looks like it was broken in rust-lang/rust#25323

Rust version:

rustc 1.19.0-dev (0ed1ec9f9 2017-05-18)
binary: rustc
commit-hash: 0ed1ec9f9eb8174273867343d01177b5ac13ff4c
commit-date: 2017-05-18
host: x86_64-unknown-linux-gnu
release: 1.19.0-dev
LLVM version: 3.9

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