Skip to content

"No variables matched as repeating at this depth" is checked late #60587

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
mark-i-m opened this issue May 6, 2019 · 3 comments
Closed

"No variables matched as repeating at this depth" is checked late #60587

mark-i-m opened this issue May 6, 2019 · 3 comments
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) C-enhancement Category: An issue proposing an enhancement or a PR with one. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@mark-i-m
Copy link
Member

mark-i-m commented May 6, 2019

For example, the following compiles, but an error message is issued when the macro is used: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=491ff00e42a73bdcda9c8da783050097

(and likewise for all the other errors in that file)

@mark-i-m
Copy link
Member Author

mark-i-m commented May 6, 2019

The code that issues this error is in syntax::ext::tt:transcribe::transcribe()

@jonas-schievink jonas-schievink added A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) C-enhancement Category: An issue proposing an enhancement or a PR with one. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. A-diagnostics Area: Messages for errors, warnings, and lints labels May 6, 2019
@estebank
Copy link
Contributor

estebank commented May 7, 2019

Cc #35853

@mark-i-m
Copy link
Member Author

Closing in favor of #61053

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) C-enhancement Category: An issue proposing an enhancement or a PR with one. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants