-
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
Rename subst::Kind
to subst::GenericArg
#64515
Conversation
r? @eternaleye it would be best if the name bikeshed ended without containing |
At this point I'd be happy with a weird name like I believe @eternaleye explained to me why both "kind" and "term" don't work well for this, and it's more damning due to Rust not being dependently-typed. |
I think we already established that neither was ideal, which is why this is a more long-winded name, but I'd be interested in hearing their justification too.
Maybe... |
subst::Kind
to subst::KindedTerm
subst::Kind
to subst::GenericArg
I've renamed |
@bors r+ p=1 bitrotty |
📌 Commit 4788e7d6c369ad17306ebd42b555dc997450a16a has been approved by |
🔒 Merge conflict This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again. How do I rebase?Assuming
You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial. Please avoid the "Resolve conflicts" button on GitHub. It uses Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Error message
|
☔ The latest upstream changes (presumably #64513) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors r=oli-obk |
📌 Commit e3fb05d has been approved by |
☀️ Test successful - checks-azure |
changelog: none
rustup rust-lang/rust#64515 changelog: none
Thanks a lot :) |
And
subst::UnpackedKind
tosubst::GenericArgKind
. Individual variable names (e.g.kind
) are not renamed, which would be an infeasible mission.Fixes #64352.
r? @eddyb