Skip to content

-Zunstable-options --pretty=expanded requires a nightly compiler. #38

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
jrmuizel opened this issue Aug 6, 2017 · 4 comments
Closed

Comments

@jrmuizel
Copy link
Contributor

jrmuizel commented Aug 6, 2017

I've filed rust-lang/rust#43697 to find out what we should do about this.

@eqrion
Copy link
Collaborator

eqrion commented Aug 7, 2017

If #24 is fixed we shouldn't need macro pretty printing, but in the mean time it's only needed for some euclid types.

We could remove the macro use there if necessary, but it would add some code repetition.

@jrmuizel
Copy link
Contributor Author

I've also filed dtolnay/syn#191 which would let us get at a post macro_rules! ast.

@eqrion
Copy link
Collaborator

eqrion commented Aug 18, 2018

I'm going to close this as --pretty=expanded won't be stabilized and we'll need to find another solution.

@bavalpey
Copy link

I'm using cbindgen and I'm running into this issue, I believe the same cause here, where macro expansion isn't working without using +nightly (e.g. setting parse.expand)
I would like to not have to rely on nightly. Is there an alternative here? I didn't see a solution in the issue list.

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