-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 optin_builtin_traits
to auto_traits
#79336
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
How extensive is the usage of the name? I think if we're doing the name change, we should do it everywhere |
Let me know what you want me to update!
|
0c79621
to
060f31d
Compare
They were originally called "opt-in, built-in traits" (OIBITs), but people realized that the name was too confusing and a mouthful, and so they were renamed to just "auto traits". The feature flag's name wasn't updated, though, so that's what this PR does. There are some other spots in the compiler that still refer to OIBITs, but I don't think changing those now is worth it since they are internal and not particularly relevant to this PR. Also see <https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/opt-in.2C.20built-in.20traits.20(auto.20traits).20feature.20name>.
413166b
to
810324d
Compare
Squashed. |
How to remove them and how to rename them. cc <rust-lang/rust#79336 (comment)> cc @varkor
Ideally all of it, even the filenames. Though it's also fine to just paste your list in an E-easy issue if you prefer. |
Should I change the name that the RFC is referenced by in the error codes? I feel like it might be confusing to see them called "auto traits" everywhere else, even though the RFC is called OIBIT. Maybe call it OIBIT, but mention that it's now called auto traits? Or something else? |
These are the remaining references:
By the way, should we mention that the name was changed in the relnotes? Probably not, mainly because it's a nightly feature. |
Goodbye, OIBIT!
95b5f90
to
82dc99b
Compare
Ah yes, that makes sense! Thanks @bors r+ |
📌 Commit 82dc99b has been approved by |
Hmm, what do you mean? Were you referring to my suggestion that we mention this in the release notes? |
Sorry, I responded to what I thought was the general statement you made
No, let's not change history 😆
You do mention that on the feature gate docs, so I think that's fine. We have lots of RFCs that don't make sense by their name anymore and that is fine. |
☀️ Test successful - checks-actions |
📣 Toolstate changed by #79336! Tested on commit ec039bd. 💔 rls on windows: test-pass → build-fail (cc @Xanewok). |
Tested on commit rust-lang/rust@ec039bd. Direct link to PR: <rust-lang/rust#79336> 💔 rls on windows: test-pass → build-fail (cc @Xanewok). 💔 rls on linux: test-pass → build-fail (cc @Xanewok). 💔 rustfmt on windows: test-pass → build-fail (cc @topecongiro @calebcartwright). 💔 rustfmt on linux: test-pass → build-fail (cc @topecongiro @calebcartwright).
Okay, thanks for the explanation! |
How to remove them and how to rename them. cc <rust-lang/rust#79336 (comment)> cc @varkor
… r=oli-obk Rename `optin_builtin_traits` to `auto_traits` They were originally called "opt-in, built-in traits" (OIBITs), but people realized that the name was too confusing and a mouthful, and so they were renamed to just "auto traits". The feature flag's name wasn't updated, though, so that's what this PR does. There are some other spots in the compiler that still refer to OIBITs, but I don't think changing those now is worth it since they are internal and not particularly relevant to this PR. Also see <https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/opt-in.2C.20built-in.20traits.20(auto.20traits).20feature.20name>. r? `@oli-obk` (feel free to re-assign if you're not the right reviewer for this)
Fix custom_target_dependency test. The feature was renamed in rust-lang/rust#79336
Fix custom_target_dependency test. The feature was renamed in rust-lang/rust#79336
This was renamed in rust-lang/rust#79336. Signed-off-by: Anders Kaseorg <[email protected]>
They were originally called "opt-in, built-in traits" (OIBITs), but
people realized that the name was too confusing and a mouthful, and so
they were renamed to just "auto traits". The feature flag's name wasn't
updated, though, so that's what this PR does.
There are some other spots in the compiler that still refer to OIBITs,
but I don't think changing those now is worth it since they are internal
and not particularly relevant to this PR.
Also see https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/opt-in.2C.20built-in.20traits.20(auto.20traits).20feature.20name.
r? @oli-obk (feel free to re-assign if you're not the right reviewer for this)