Uh oh!
There was an error while loading. Please reload this page.
gate rustc_on_unimplemented under rustc_attrs - #65794
Conversation
varkor
commented
Oct 25, 2019
We should remove the feature gate too: otherwise it's possible to enable the feature without any effect. |
Centril
commented
Oct 26, 2019
@varkor I don't know what you mean by "without any effect". The only technical change is the omission of the tracking issue. Would you prefer to move it to rustc_attrs? |
varkor
commented
Oct 26, 2019
I mean that you can currently write: #![feature(on_unimplemented)]And there won't be any error, which there ought to be after this change. |
Centril
commented
Oct 26, 2019
@varkor I didn't intend for that to be an error, only to remove any mention of the tracking issue. The attribute has to be gated by something, either the existing feature gate name or rustc_attrs. Do we want to gate all internal features with rustc_attrs? The current practice seems to be all over the place. |
varkor
commented
Oct 26, 2019
What other |
Centril
commented
Oct 26, 2019
Seems like it's a small minority:
( |
Do you know if there's any particular reason for those? I'll investigate later if not. I would have thought that all |
Centril
commented
Oct 26, 2019
No idea but my guess is that it would be happenstance. |
As far as I can tell, So I think we should gate |
Centril
commented
Oct 27, 2019
@varkor Moved |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Centril
commented
Oct 28, 2019
@varkor I think it's good to go now. |
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
varkor
commented
Nov 2, 2019
r=me with typo fixed. |
Centril
commented
Nov 6, 2019
Typo fixed; @bors r=varkor rollup |
bors
commented
Nov 6, 2019
📌 Commit 1c7595f has been approved by |
gate rustc_on_unimplemented under rustc_attrs Move `rustc_on_implemented` from the `on_implemented` gate to `rustc_attrs` as it is internal. Closesrust-lang#29628 r? @varkor
gate rustc_on_unimplemented under rustc_attrs Move `rustc_on_implemented` from the `on_implemented` gate to `rustc_attrs` as it is internal. Closesrust-lang#29628 r? @varkor
gate rustc_on_unimplemented under rustc_attrs Move `rustc_on_implemented` from the `on_implemented` gate to `rustc_attrs` as it is internal. Closesrust-lang#29628 r? @varkor
Rollup of 12 pull requests Successful merges: - #65794 (gate rustc_on_unimplemented under rustc_attrs) - #65945 (Optimize long-linker-command-line test) - #66044 (Improve uninit/zeroed lint) - #66076 (HIR docs: mention how to resolve method paths) - #66084 (Do not require extra LLVM backends for `x.py test` to pass) - #66111 (improve from_raw_parts docs) - #66114 (Improve std::thread::Result documentation) - #66117 (Fixed PhantomData markers in Arc and Rc) - #66146 (Remove unused parameters in `__thread_local_inner`) - #66147 (Miri: Refactor to_scalar_ptr out of existence) - #66162 (Fix broken link in README) - #66171 (Update link on CONTRIBUTING.md) Failed merges: r? @ghost
Move
rustc_on_implementedfrom theon_implementedgate torustc_attrsas it is internal.Closes#29628
r? @varkor