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

Shadowed macro shows up as unresolved #12590

Closed
lnicola opened this issue Jun 20, 2022 · 2 comments
Closed

Shadowed macro shows up as unresolved #12590

lnicola opened this issue Jun 20, 2022 · 2 comments
Labels
C-bug Category: bug S-actionable Someone could pick this issue up and work on it right now

Comments

@lnicola
Copy link
Member

lnicola commented Jun 20, 2022

macro_rules! __static_cond { // __static_cond is unresolvedReference
    (posts posts) => {};
}
macro_rules! __static_cond {
    (posts posts) => {};
}

Spotted in #12589.

@lnicola lnicola added S-actionable Someone could pick this issue up and work on it right now C-bug Category: bug labels Jun 20, 2022
@Veykril
Copy link
Member

Veykril commented Jun 20, 2022

Kind of #12100, we don't support shadowing on the ide layer yet

@lnicola
Copy link
Member Author

lnicola commented Jun 20, 2022

Right, looks like a dupe.

@lnicola lnicola closed this as completed Jun 20, 2022
@lnicola lnicola changed the title Redefined macro shows up as unresolved Shadowed macro shows up as unresolved Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug S-actionable Someone could pick this issue up and work on it right now
Projects
None yet
Development

No branches or pull requests

2 participants