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

Doesn't compile on rustc 1.13.0-nightly (3c5a0fa45 2016-08-22) #102

Closed
Eilie opened this issue Aug 25, 2016 · 2 comments
Closed

Doesn't compile on rustc 1.13.0-nightly (3c5a0fa45 2016-08-22) #102

Eilie opened this issue Aug 25, 2016 · 2 comments

Comments

@Eilie
Copy link

Eilie commented Aug 25, 2016

error: no associated item named `None` found for type `syntax::ast::FunctionRetTy` in the current scope
  --> /home/eilie/.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/fn_decl.rs:98:22
      |
98 |         let ret_ty = ast::FunctionRetTy::None(self.span);
      |  
@dtolnay
Copy link
Contributor

dtolnay commented Aug 25, 2016

You need to update your aster dependency. This was fixed in 0.25.0.

https://github.com/serde-rs/aster/blob/v0.25.0/src/fn_decl.rs#L102

@Eilie
Copy link
Author

Eilie commented Aug 25, 2016

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants