Repository navigation
[EXPERIMENT] Destabilize vec::from_elem - #164053
ChrisDenton wants to merge 1 commit into
Conversation
|
@bors try |
This comment has been minimized.
This comment has been minimized.
[EXPERIMENT] Destabilize `vec::from_elem`
|
cc @clarfonthey as you've expressed an interest here. I'll do a crater run here if try is successful but I do feel very strongly that our internals should be internal so if there is a problem I'd at least like to |
|
Hm, for some reason the try build isn't being picked up. Let me try again: @bors try |
This comment has been minimized.
This comment has been minimized.
[EXPERIMENT] Destabilize `vec::from_elem`
|
@craterbot check |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
Crater rollup in #164148 @craterbot abort |
|
🗑️ Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
The |
|
Yeah I mean, this is kind of what I expected to happen, although we'll see how many breakages there are. |
|
Opened mooman219/fontdue#173, may as well get that sorted out sooner rather than later. Luckily most users are on the latest patch release so will likely upgrade to a next patch release automatically. |
`std::vec::from_elem` is an undocument function that we intend to destabilize (see rust-lang/rust#164053). The `vec!` macro can be used instead, it has the exact same behavior.
|
I assume this is going to need a I surfaced this API from using rust analyzer. It recommended the function at the time and it seemed to fit what I wanted. This was a long time ago at this point, and |
|
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🎉 Experiment
Footnotes
|
|
Yeah, as expected, will want at least a deprecation/FCW on this rather than immediate merging. 50 top-level crates is unfortunate but not unfixable and doesn't mean we can't remove it eventually, just, not right now. |
|
@rustbot author |
|
It's really mostly But yeah deprecating first does seem like the way to go. |
|
I think this experiment has served its purpose so I'll close this now. I'll put up a new PR deprecating |
|
See #164653 |
View all comments