We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting the errors below when trying to build on nightly and master. The breakage seems to have been introduced by rust-lang/rust#53815
error[E0308]: mismatched types --> clippy_lints/src/utils/hir_utils.rs:116:100 | 116 | self.eq_expr(&l.body, &r.body) && both(&l.guard, &r.guard, |l, r| self.eq_expr(l, r)) | ^ expected struct `rustc::hir::Expr`, found enum `rustc::hir::Guard` | = note: expected type `&rustc::hir::Expr` found type `&rustc::hir::Guard` error[E0308]: mismatched types --> clippy_lints/src/utils/hir_utils.rs:116:103 | 116 | self.eq_expr(&l.body, &r.body) && both(&l.guard, &r.guard, |l, r| self.eq_expr(l, r)) | ^ expected struct `rustc::hir::Expr`, found enum `rustc::hir::Guard` | = note: expected type `&rustc::hir::Expr` found type `&rustc::hir::Guard` error[E0308]: mismatched types --> clippy_lints/src/utils/hir_utils.rs:500:40 | 500 | self.hash_expr(e); | ^ expected struct `rustc::hir::Expr`, found enum `rustc::hir::Guard` | = note: expected type `&rustc::hir::Expr` found type `&rustc::hir::Guard` error[E0308]: mismatched types --> clippy_lints/src/utils/inspector.rs:116:28 | 116 | print_expr(cx, guard, 1); | ^^^^^ expected struct `rustc::hir::Expr`, found enum `rustc::hir::Guard` | = note: expected type `&rustc::hir::Expr` found type `&rustc::hir::Guard` error[E0308]: mismatched types --> clippy_lints/src/utils/author.rs:350:41 | 350 | self.visit_expr(guard); | ^^^^^ expected struct `rustc::hir::Expr`, found enum `rustc::hir::Guard` | = note: expected type `&rustc::hir::Expr` found type `&rustc::hir::Guard` error[E0308]: mismatched types --> clippy_lints/src/eval_order_dependence.rs:112:41 | 112 | self.visit_expr(guard); | ^^^^^ expected struct `rustc::hir::Expr`, found enum `rustc::hir::Guard` | = note: expected type `&rustc::hir::Expr` found type `&rustc::hir::Guard` error[E0308]: mismatched types --> clippy_lints/src/shadow.rs:342:40 | 342 | check_expr(cx, guard, bindings); | ^^^^^ expected struct `rustc::hir::Expr`, found enum `rustc::hir::Guard` | = note: expected type `&rustc::hir::Expr` found type `&rustc::hir::Guard` error: aborting due to 7 previous errors For more information about this error, try `rustc --explain E0308`. error: Could not compile `clippy_lints`.
The text was updated successfully, but these errors were encountered:
19157c0
Merge pull request #3113 from mikerite/fix-3112
131c8f8
Fix #3112
No branches or pull requests
I'm getting the errors below when trying to build on nightly and master. The breakage seems to have been introduced by rust-lang/rust#53815
The text was updated successfully, but these errors were encountered: