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

Build failed on master 1.41.0-nightly (abd69551b 2019-11-22) #4835

Closed
yerke opened this issue Nov 22, 2019 · 2 comments
Closed

Build failed on master 1.41.0-nightly (abd69551b 2019-11-22) #4835

yerke opened this issue Nov 22, 2019 · 2 comments

Comments

@yerke
Copy link
Contributor

yerke commented Nov 22, 2019

OS: Mac

error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 1 field
    --> clippy_lints/src/utils/author.rs:461:13
     |
461  |             ExprKind::InlineAsm(_, ref _input, ref _output) => {
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 3

error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 1 field
    --> clippy_lints/src/utils/inspector.rs:285:9
     |
285  |         hir::ExprKind::InlineAsm(_, ref input, ref output) => {
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 3

error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 1 field
    --> clippy_lints/src/loops.rs:723:11
     |
723  |         | ExprKind::InlineAsm(_, _, _)
     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 3

error[E0599]: no method named `parse_str` found for type `rustc_parse::parser::Parser<'_>` in the current scope
   --> clippy_lints/src/write.rs:345:43
    |
345 |     let (fmtstr, fmtstyle) = match parser.parse_str().map_err(|mut err| err.cancel()) {
    |                                           ^^^^^^^^^ help: there is a method with a similar name: `parse_stmt`

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0023, E0599.
For more information about an error, try `rustc --explain E0023`.
error: could not compile `clippy_lints`.
@flip1995
Copy link
Member

Will be fixed with 1b2f43d, once #4825 is merged

@yerke
Copy link
Contributor Author

yerke commented Nov 22, 2019

Thanks for taking a look @flip1995

@bors bors closed this as completed in e4636f3 Nov 23, 2019
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

2 participants