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

macros fail to compile with latest Rust nightly build #18

Closed
fuchsnj opened this issue May 1, 2015 · 2 comments
Closed

macros fail to compile with latest Rust nightly build #18

fuchsnj opened this issue May 1, 2015 · 2 comments

Comments

@fuchsnj
Copy link

fuchsnj commented May 1, 2015

#![feature(plugin)]
#![plugin(json_macros)]

fn main() {
    let json = json!({
        "test" : 4      
    });
}
src\main.rs:5:13: 7:4 error: expected identifier, found `_ob`
src\main.rs:5   let json = json!({
src\main.rs:6       "test" : 4      
src\main.rs:7   });
Could not compile `json_test`.

To learn more, run the command again with --verbose.
rustc --version
rustc 1.1.0-nightly (c4b23aec4 2015-04-29) (built 2015-04-29)
@tomjakubowski
Copy link
Owner

Seems related to this: rust-lang/rust#23085

Fix incoming.

@tomjakubowski
Copy link
Owner

Released in v0.2.4

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