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

Clippy broken on nightly? (linux-x64) #1343

Closed
stevedonovan opened this issue Nov 16, 2016 · 2 comments
Closed

Clippy broken on nightly? (linux-x64) #1343

stevedonovan opened this issue Nov 16, 2016 · 2 comments

Comments

@stevedonovan
Copy link

Fresh off the press nightly, and no happiness yet!

error[E0053]: method `check_fn` has an incompatible type for trait
  --> /home/steve/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/clippy_lints-0.0.98/src/unused_label.rs:50:5
   |
50 |     fn check_fn(&mut self, cx: &LateContext, kind: FnKind, decl: &hir::FnDecl, body: &hir::Block, span: Span, fn_id: ast::NodeId) {
   |     ^ expected struct `rustc::hir::Expr`, found struct `rustc::hir::Block`
   |
   = note: expected type `fn(&mut unused_label::UnusedLabel, &rustc::lint::LateContext<'_, '_>, rustc::hir::intravisit::FnKind<'_>, &rustc::hir::FnDecl, &rustc::hir::Expr, syntax::codemap::Span, syntax::ast::NodeId)`
   = note:    found type `fn(&mut unused_label::UnusedLabel, &rustc::lint::LateContext<'_, '_>, rustc::hir::intravisit::FnKind<'_>, &rustc::hir::FnDecl, &rustc::hir::Block, syntax::codemap::Span, syntax::ast::NodeId)`

@oli-obk
Copy link
Contributor

oli-obk commented Nov 16, 2016

Sorry, am already on it

@mcarton
Copy link
Member

mcarton commented Nov 18, 2016

Closed by #1344.

@mcarton mcarton closed this as completed Nov 18, 2016
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