Skip to content

Conversation

ehuss
Copy link

@ehuss ehuss commented Sep 11, 2023

The "in this macro invocation" doesn't handle desugarings and attributes. This changes the check for that to only check for bang macros. This probably could be done better, but should work for now.

Fixes #517

@ehuss ehuss merged commit 746792f into rust-lang:master Sep 11, 2023
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

Successfully merging this pull request may close these issues.

Diagnostics incorrectly indicate a macro invocation when there's none

1 participant