Skip to content

Won't Compile #4

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

Closed
nitaigao opened this issue Dec 9, 2019 · 2 comments
Closed

Won't Compile #4

nitaigao opened this issue Dec 9, 2019 · 2 comments

Comments

@nitaigao
Copy link

nitaigao commented Dec 9, 2019

Thanks for creating such an awesome module

Any idea how to fix this compilation error?

error: enum variants on type aliases are experimental
   --> src/format/cell.rs:103:9
    |
103 |         Self::Left
    |         ^^^^^^^^^^

error: enum variants on type aliases are experimental
   --> src/format/cell.rs:121:9
    |
121 |         Self::Top
    | 
@devashishdxt
Copy link
Owner

Hi @nitaigao,

May I know the version of rust compiler are you using? Type aliases for enum variants were stabilised in 1.37.0

rust-lang/rust#61682

You can try running rustup update and then compile the code.

Let me know if you continue to face this issue after updating Rust version.

@nitaigao
Copy link
Author

Thanks @devashishdxt. You were totally right, i had an old version of rust installed.

Many thanks for the detailed reply and sorry for the hassle.

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

No branches or pull requests

2 participants