-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Macro expression reuse causes invalid behavior #8852
Labels
A-syntaxext
Area: Syntax extensions
Comments
Probably #6000 again. |
Seems similar to #8754 too. |
nikomatsakis
added a commit
to nikomatsakis/rust
that referenced
this issue
Sep 7, 2013
…node has a unique id. Fixes numerous bugs in macro expansion and deriving. Add two representative tests. Fixes rust-lang#7971 Fixes rust-lang#6304 Fixes rust-lang#8367 Fixes rust-lang#8754 Fixes rust-lang#8852
xFrednet
pushed a commit
to xFrednet/rust
that referenced
this issue
May 21, 2022
… r=Manishearth Lint indirect usages in `disallowed_methods` Fixes rust-lang#8849 changelog: Lint indirect usages in [`disallowed_methods`]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code:
Yields the following type error:
Which is wrong, as the expression should be expanded into both locations, both
x
s andy
s having separate types.The text was updated successfully, but these errors were encountered: