Skip to content

Vec::new is const stable in 1.39 not 1.32 - #69877

Merged
bors merged 1 commit into
rust-lang:masterfrom
CAD97:patch-1
Mar 10, 2020
Merged

Vec::new is const stable in 1.39 not 1.32#69877
bors merged 1 commit into
rust-lang:masterfrom
CAD97:patch-1

Conversation

@CAD97

Copy link
Copy Markdown
Contributor

Changelog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1390-2019-11-07

This really surprised me when a MSRV check for 1.35 failed with Vec::new is not yet stable as a const fn and the docs said that it was const stabilized in 1.32.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @withoutboats

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 10, 2020
@dtolnay

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Mar 10, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit a561962 has been approved by dtolnay

@bors

bors commented Mar 10, 2020

Copy link
Copy Markdown
Collaborator

🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 10, 2020
@CentrilCentril mentioned this pull request Mar 10, 2020
bors added a commit that referenced this pull request Mar 10, 2020
Rollup of 10 pull requests
Successful merges:
- #69475 (Remove the `no_force` query attribute)
- #69514 (Remove spotlight)
- #69677 (rustc_metadata: Give decoder access to whole crate store)
- #69714 (Make PlaceRef take just one lifetime)
- #69799 (Allow ZSTs in `AllocRef`)
- #69817 (test(patterns): add patterns feature tests to borrowck test suite)
- #69836 (Check if output is immediate value)
- #69847 (clean up E0393 explanation)
- #69861 (Add note about localization to std::fmt docs)
- #69877 (Vec::new is const stable in 1.39 not 1.32)
Failed merges:
r? @ghost
@bors
bors merged commit 3e9efbd into rust-lang:masterMar 10, 2020
@CAD97
CAD97 deleted the patch-1 branch March 12, 2020 02:16
@dtolnaydtolnay assigned dtolnay and unassigned withoutboatsMar 24, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@CAD97@rust-highfive@dtolnay@bors@withoutboats