-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rename FnKind variants and stop re-exporting them from the visit module. #28007
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
Conversation
There is no longer a need for that pattern, since enums are now qualified.
(rust_highfive has picked a reviewer for you, use r? to override) |
Was this submitted before? I think I've seen this change in some older PR. |
I haven't submitted it before, and didn't find one when looking earlier. |
I actually did it here and then undid it after some discussion |
We have prefixes for the rest of the AST types (eg |
We should fix the rest too, but that was more than I felt like today. |
Hmm, that sounds okay. I prefer |
r? @nrc cc @rust-lang/compiler |
👍 from me - the |
@bors: r+ |
📌 Commit 2076cdd has been approved by |
There is no longer a need for that pattern, since enums are now qualified.
There is no longer a need for that pattern, since enums are now qualified.