Skip to content

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

Description

@yerke

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`.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions