Skip to content

maud_macros build breaks with rustc 1.17.0-nightly (691eba135 2017-03-01) #77

Closed
@sanmai-NL

Description

@sanmai-NL
   Compiling maud_macros v0.16.1
error: no method named `get_span` found for type `&syntax::tokenstream::TokenTree` in the current scope
   --> /home/sanmai/.cargo/bin/registry/src/github.com-1ecc6299db9ec823/maud_macros-0.16.1/src/parse.rs:207:43
    |
207 |                     parse_error!(self, tt.get_span(), "invalid syntax");
    |                     ----------------------^^^^^^^^---------------------- in this macro invocation

error: no associated item named `Sequence` found for type `syntax::tokenstream::TokenTree` in the current scope
   --> /home/sanmai/.cargo/bin/registry/src/github.com-1ecc6299db9ec823/maud_macros-0.16.1/src/parse.rs:372:82
    |
372 |             [TokenTree::Token(sp, _), ..] | [TokenTree::Delimited(sp, _), ..] | [TokenTree::Sequence(sp, _), ..] => {
    |                                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions