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
clippy v0.0.111
Compiling clippy_lints v0.0.111 error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 3 fields --> /home/pawel/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clippy_lints-0.0.111/src/utils/hir.rs:163:15 | 163 | (&PatKind::Range(ref ls, ref le), &PatKind::Range(ref rs, ref re)) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 fields, found 2 error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 3 fields --> /home/pawel/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clippy_lints-0.0.111/src/utils/hir.rs:163:48 | 163 | (&PatKind::Range(ref ls, ref le), &PatKind::Range(ref rs, ref re)) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 fields, found 2 error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 3 fields --> /home/pawel/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clippy_lints-0.0.111/src/utils/inspector.rs:478:9 | 478 | hir::PatKind::Range(ref l, ref r) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 fields, found 2 error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 3 fields --> /home/pawel/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clippy_lints-0.0.111/src/matches.rs:364:25 | 363 | if_let_chain! {[ | _____________________- starting here... 364 | | let PatKind::Range(ref lhs, ref rhs) = pat.node, | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 fields, found 2 365 | | let Ok(lhs) = constcx.eval(lhs, ExprTypeChecked), 366 | | let Ok(rhs) = constcx.eval(rhs, ExprTypeChecked) 367 | | ], { 368 | | return Some(SpannedRange { span: pat.span, node: (lhs, rhs) }); 369 | | }} | |__________________- ...ending here: in this macro invocation error: aborting due to 4 previous errors error: failed to compile `clippy v0.0.111`, intermediate artifacts can be found at `/tmp/user/1000/cargo-install.IpUIDN9mFMZx` Caused by: Could not compile `clippy_lints`. To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered:
This looks like it is due to rust-lang/rust#35712
Sorry, something went wrong.
3e03b5d
Merge pull request #1477 from tomprince/support-exclusive-patterns
34399d4
Fix #1476: Add support for exclusive pattern matches.
I published 0.112
No branches or pull requests
The text was updated successfully, but these errors were encountered: