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

Pear_codegen 0.0.15 fails on latest nightly #6

Closed
berkus opened this issue May 4, 2018 · 1 comment
Closed

Pear_codegen 0.0.15 fails on latest nightly #6

berkus opened this issue May 4, 2018 · 1 comment
Labels

Comments

@berkus
Copy link

berkus commented May 4, 2018

Upgraded to rustc 1.27.0-nightly (e82261dfb 2018-05-03) and rocket 0.3.9:

error[E0599]: no variant named `TupField` found for type `syntax::ast::ExprKind` in the current scope
   --> /Users/skarchebnyy/.cargo/registry/src/github.com-1ecc6299db9ec823/pear_codegen-0.0.15/src/lib.rs:339:9
    |
339 |         ExprKind::TupField(indexed_expr, i) => {
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant not found in `syntax::ast::ExprKind`

error[E0599]: no variant named `TupField` found for type `syntax::ast::ExprKind` in the current scope
   --> /Users/skarchebnyy/.cargo/registry/src/github.com-1ecc6299db9ec823/pear_codegen-0.0.15/src/lib.rs:340:51
    |
340 |             let remake = |new_expr: Vec<P<Expr>>| ExprKind::TupField(new_expr[0].clone(), i);
    |                                                   ^^^^^^^^^^^^^^^^^^ variant not found in `syntax::ast::ExprKind`
@berkus
Copy link
Author

berkus commented May 4, 2018

Hmm, looks like stale cargo cache, cargo upgrade fixed the deps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants