Closed
Description
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/github.com-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)`
Metadata
Metadata
Assignees
Labels
No labels