Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Does not compile on rustc 1.18.0-nightly (50c186419 2017-04-06) #133

Closed
adeschamps opened this issue Apr 8, 2017 · 1 comment
Closed

Comments

@adeschamps
Copy link

   Compiling aster v0.41.0 (file:///home/anthony/git/aster)
error[E0560]: struct `syntax::ast::Attribute` has no field named `value`
  --> src/attr.rs:59:13
   |
59 |             value: item,
   |             ^^^^^^ field does not exist - did you mean `path`?

error[E0308]: mismatched types
   --> src/mac.rs:110:18
    |
110 |             tts: self.tokens,
    |                  ^^^^^^^^^^^ expected struct `syntax::tokenstream::ThinTokenStream`, found struct `std::vec::Vec`
    |
    = note: expected type `syntax::tokenstream::ThinTokenStream`
               found type `std::vec::Vec<syntax::tokenstream::TokenTree>`
    = help: here are some functions which might fulfill your needs:
            - .remove(...)
            - .swap_remove(...)

error: no method named `bt_push` found for type `syntax::ext::base::ExtCtxt<'_>` in the current scope
   --> src/mac.rs:141:8
    |
141 |     cx.bt_push(info);
    |        ^^^^^^^

error[E0063]: missing field `span` in initializer of `syntax::ast::PathSegment`
   --> src/path.rs:303:30
    |
303 |         self.callback.invoke(ast::PathSegment {
    |                              ^^^^^^^^^^^^^^^^ missing `span`

error[E0063]: missing field `span` in initializer of `syntax::ast::PathSegment`
   --> src/path.rs:324:30
    |
324 |         self.callback.invoke(ast::PathSegment {
    |                              ^^^^^^^^^^^^^^^^ missing `span`

error: aborting due to 5 previous errors

error: Could not compile `aster`.

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

dtolnay commented Apr 8, 2017

The syntex / aster / quasi stack is not being maintained at the moment - see serde-deprecated/syntex#114. Please use your own forked version, or switch to a different library.

@dtolnay dtolnay closed this as completed Apr 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants