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

Does not compile on rustc 1.15.0-nightly (ac635aa95 2016-11-18) #1350

Closed
dtolnay opened this issue Nov 19, 2016 · 3 comments
Closed

Does not compile on rustc 1.15.0-nightly (ac635aa95 2016-11-18) #1350

dtolnay opened this issue Nov 19, 2016 · 3 comments
Assignees

Comments

@dtolnay
Copy link
Member

dtolnay commented Nov 19, 2016

$ cargo build
   Compiling clippy_lints v0.0.99
error[E0308]: mismatched types
  --> clippy_lints/src/len_zero.rs:71:86
   |
71 |             ItemImpl(_, _, _, None, _, ref impl_items) => check_impl_items(cx, item, impl_items),
   |                                                                                      ^^^^^^^^^^ expected slice, found struct `syntax::ptr::P`
   |
   = note: expected type `&[rustc::hir::ImplItem]`
   = note:    found type `&syntax::ptr::P<[rustc::hir::ImplItemRef]>`

error: aborting due to previous error

error: Could not compile `clippy_lints`.

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

$ rustc --version
rustc 1.15.0-nightly (ac635aa95 2016-11-18)
@dtolnay
Copy link
Member Author

dtolnay commented Nov 19, 2016

Looks like rust-lang/rust#37660 is the culprit.

@mcarton
Copy link
Member

mcarton commented Nov 19, 2016

Thanks, I'm presenting Clippy at Capitole du Libre in 14h, that would have been embarrassing 😅

@oli-obk
Copy link
Contributor

oli-obk commented Nov 19, 2016

Wheee, go @mcarton go

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

3 participants