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

Traverse interpolated TTs so we can parse them as other things #22819

Closed
kmcallister opened this issue Feb 25, 2015 · 3 comments · Fixed by #34908
Closed

Traverse interpolated TTs so we can parse them as other things #22819

kmcallister opened this issue Feb 25, 2015 · 3 comments · Fixed by #34908
Labels
A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-parser Area: The parsing of Rust source code to an AST.

Comments

@kmcallister
Copy link
Contributor

See discussion on #9364.

@kmcallister kmcallister added A-parser Area: The parsing of Rust source code to an AST. A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) labels Feb 25, 2015
@kmcallister kmcallister self-assigned this Feb 25, 2015
@pczarn
Copy link
Contributor

pczarn commented Feb 26, 2015

the problem is that [interpolated statements] cannot be broken apart and re-parsed after they have been parsed once.

The ability to convert token-trees ↔ AST is also needed to fix #16472.

@kmcallister
Copy link
Contributor Author

Do we need that ability here? It's only about interpolated tt matches.

@kmcallister kmcallister removed their assignment Mar 10, 2015
@jseyfried
Copy link
Contributor

Fixed in #34908.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-parser Area: The parsing of Rust source code to an AST.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants