Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cant compile with latest rustc #18

Closed
Alonely0 opened this issue Aug 13, 2021 · 2 comments
Closed

Cant compile with latest rustc #18

Alonely0 opened this issue Aug 13, 2021 · 2 comments

Comments

@Alonely0
Copy link

I just added if_chain to my dependencies because I was interested on using it, but when I try to compile my project this happens. I'm compiling it with the latest nightly and edition 2021.
image

@lambda-fairy
Copy link
Owner

  • What's the exact rustc version? I have this version, and cargo test passes for me.

    $ rustc --version
    rustc 1.56.0-nightly (0fa319039 2021-08-12)
    
  • Does it work when you switch to edition 2018? This might be a case of Change pat to pat_param #17.

@Alonely0
Copy link
Author

never mind. i wrote an else if inside the macro, i though was supported.

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

No branches or pull requests

2 participants