Skip to content

CodeSuggestion has new field in latest nightly #1902

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
ebfull opened this issue Jul 24, 2017 · 1 comment
Closed

CodeSuggestion has new field in latest nightly #1902

ebfull opened this issue Jul 24, 2017 · 1 comment

Comments

@ebfull
Copy link

ebfull commented Jul 24, 2017

rust-lang/rust#43096 introduced show_code_when_inline to rustc_errors::CodeSuggestion so clippy_lints (and perhaps other stuff) fail to compile on the latest Rust nightly.

   Compiling clippy_lints v0.0.144
error[E0063]: missing field `show_code_when_inline` in initializer of `rustc_errors::CodeSuggestion`
   --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.144/src/utils/mod.rs:577:16
    |
577 |     let sugg = rustc_errors::CodeSuggestion {
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `show_code_when_inline`

error: aborting due to previous error

error: Could not compile `clippy_lints`.
kraai added a commit to kraai/rust-clippy that referenced this issue Jul 24, 2017
Frederick888 added a commit to Frederick888/rust-clippy that referenced this issue Jul 24, 2017
@oli-obk
Copy link
Contributor

oli-obk commented Jul 24, 2017

published as 0.0.145

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

2 participants