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

Fails to build with rustc 1.23.0-nightly (d762b1d6c 2017-11-04) #2119

Closed
kraai opened this issue Nov 5, 2017 · 1 comment
Closed

Fails to build with rustc 1.23.0-nightly (d762b1d6c 2017-11-04) #2119

kraai opened this issue Nov 5, 2017 · 1 comment

Comments

@kraai
Copy link

kraai commented Nov 5, 2017

When I try to build rustfmt with rustc 1.23.0-nightly (d762b1d 2017-11-04), it fails with the following errors:

$ cargo build
   Compiling rustfmt-nightly v0.2.13 (file:///home/kraai/src/rustfmt)
error[E0599]: no associated item named `DefaultImpl` found for type `syntax::ast::ItemKind` in the current scope
   --> src/visitor.rs:421:13
    |
421 |             ast::ItemKind::DefaultImpl(..) => {
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0023]: this pattern has 4 fields, but the corresponding tuple variant has 5 fields
   --> src/items.rs:897:12
    |
897 |     if let ast::ItemKind::Trait(unsafety, ref generics, ref type_param_bounds, ref trait_items) =
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 fields, found 4

error: aborting due to 2 previous errors

error: Could not compile `rustfmt-nightly`.

To learn more, run the command again with --verbose.
@topecongiro
Copy link
Contributor

@kraai Thank you! Closed by #2118.

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