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

failed to resolve. Could not find Punct in proc_macro #2

Closed
truckydev opened this issue Jul 26, 2018 · 2 comments
Closed

failed to resolve. Could not find Punct in proc_macro #2

truckydev opened this issue Jul 26, 2018 · 2 comments

Comments

@truckydev
Copy link

truckydev commented Jul 26, 2018

I have this error when I try the example :
Maybe an answer here ...
rust-lang/rust#46489

proc-macro2-0.4.9/src/unstable.rs:131:42
    |
131 |                 let mut op = proc_macro::Punct::new(tt.as_char(), spacing);
    |                                          ^^^^^ Could not find `Punct` in `proc_macro`
@mikeyobrien
Copy link

I was able to resolve this issue by downloading and using the nightly toolchain as the default.

rustup install nightly

followed by,

rustup default nightly

@chinedufn
Copy link
Owner

Yup latest nightly should work - feel free to re-open if that doesn't solve your issue!

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

3 participants