Skip to content

struct rustc_plugin::Registry does not have a field named mir_passes #1618

Closed
@Techcable

Description

@Techcable

Clippy won't compile on the latest rust nightly (rustc 1.17.0-nightly (824c9eb 2017-03-12), with this error:

error[E0026]: struct `rustc_plugin::Registry` does not have a field named `mir_passes`
  --> /home/nicholas/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.118/src/main.rs:92:60
   |
92 |                                                            mir_passes,
   |                                                            ^^^^^^^^^^ struct `rustc_plugin::Registry` does not have field `mir_passes`

error: aborting due to previous error

error: failed to compile `clippy v0.0.118`, intermediate artifacts can be found at `/tmp/cargo-install.smZuH7anGt1C`

Caused by:
  Could not compile `clippy`.

To learn more, run the command again with --verbose.

Thanks for your help 😄

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