Skip to content
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

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

Closed
Techcable opened this issue Mar 13, 2017 · 0 comments
Closed

Comments

@Techcable
Copy link
Contributor

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/git.luolix.top-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 😄

Techcable added a commit to Techcable/rust-clippy that referenced this issue Mar 13, 2017
The ability for plugins to add MIR passes was removed as of 4ca9c97.
Luckily, we don't use this feature at all and can safely ignore it.

Fixes rust-lang#1618
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

1 participant