Skip to content
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

Doesn't compile on Rust 1.47 #62

Closed
ubolonton opened this issue Oct 14, 2020 · 0 comments
Closed

Doesn't compile on Rust 1.47 #62

ubolonton opened this issue Oct 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@ubolonton
Copy link
Collaborator

ubolonton commented Oct 14, 2020

On Rust 1.47, compilation fails with a lot of errors similar to this:

error[E0423]: expected value, found macro `env`
   --> core/src/lang.rs:182:52
    |
182 |     "lang-node-type-named-p" fn node_kind_is_named(type_id: u16) -> bool
    |                                                    ^^^^^^^ not a value
    |
help: use `!` to invoke the macro
    |
182 |     "lang-node-type-named-p" fn node_kind_is_named(type_id!: u16) -> bool
    |                                                           ^
help: consider importing this function instead
    |
1   | use crate::lang::os::unix::process::sys::os::env;
    |

@ubolonton ubolonton added the bug Something isn't working label Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant