Code Monkey home page Code Monkey logo

Comments (5)

dashed avatar dashed commented on June 26, 2024 4

Note for issue lurkers: I rolled back nightly build to rustc 1.14.0-nightly (86affcdf6 2016-09-28) and this error is gone.

from aster.

oli-obk avatar oli-obk commented on June 26, 2024 1

Note: it is suggested to use serde_derive instead of serde codegen, since serde_derive is expected to never break and will become available on stable in 3 monts or so. Afaik diesel is moving in a similar direction

from aster.

zmarcantel avatar zmarcantel commented on June 26, 2024

Same thing for 1.14.0-nightly (9c31d76e9 2016-10-03) (with one additional error).

error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef`
  --> /home/zach/.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.29.0/src/lifetime.rs:43:9
   |
43 |         ast::LifetimeDef {
   |         ^^^^^^^^^^^^^^^^ missing `attrs`

error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef`
   --> /home/zach/.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.29.0/src/lifetime.rs:111:30
    |
111 |         self.callback.invoke(ast::LifetimeDef {
    |                              ^^^^^^^^^^^^^^^^ missing `attrs`

error: no associated item named `Vec` found for type `syntax::ast::TyKind` in the current scope
   --> /home/zach/.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.29.0/src/ty.rs:148:28
    |
148 |         self.build_ty_kind(ast::TyKind::Vec(ty))
    |                            ^^^^^^^^^^^^^^^^

error: no associated item named `FixedLengthVec` found for type `syntax::ast::TyKind` in the current scope
   --> /home/zach/.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.29.0/src/ty.rs:153:28
    |
153 |         self.build_ty_kind(ast::TyKind::FixedLengthVec(ty, len_expr))
    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0063]: missing field `attrs` in initializer of `syntax::ast::TyParam`
   --> /home/zach/.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.29.0/src/ty_param.rs:103:30
    |
103 |         self.callback.invoke(ast::TyParam {
    |                              ^^^^^^^^^^^^ missing `attrs`

Was going to make a new issue, but the failures are so similar and only 1 nightly release apart so decided against it.

The only difference between the original issue and this on is:

error: no associated item named `FixedLengthVec` found for type `syntax::ast::TyKind` in the current scope
   --> /home/zach/.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.29.0/src/ty.rs:153:28
    |
153 |         self.build_ty_kind(ast::TyKind::FixedLengthVec(ty, len_expr))
    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^

from aster.

freiguy1 avatar freiguy1 commented on June 26, 2024

I ran into this issue last night as well. I was attempting to update lib versions and nightly version for a web api I'm building which uses diesel and serde. Apparently the newest version of diesel needs rust nightly >= 2016-10-10, and aster requires nightly <= 2016-09-28. Sad day. I don't envy the person attempting to get a new project up and running with both serde and diesel. At least I have a set of versions which work together from 2016-03-25!

from aster.

dtolnay avatar dtolnay commented on June 26, 2024

Fixed in #115.

from aster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.