-
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
1.19 stabilization #42745
1.19 stabilization #42745
Conversation
☔ The latest upstream changes (presumably #42722) made this pull request unmergeable. Please resolve the merge conflicts. |
@@ -436,6 +436,8 @@ pub use self::hash_map::HashMap; | |||
pub use self::hash_set::HashSet; | |||
|
|||
#[stable(feature = "rust1", since = "1.0.0")] | |||
#[rustc_deprecated(reason = "moved to std::ops", since = "1.19.0")] | |||
#[allow(deprecated)] | |||
pub use alloc::range; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might be wrong but I think this reexport will have to be removed otherwise std::collections::range::RangeArgument
will be usable in stable which I presume isn't intended.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My interpretation is that the reexport is stable but the module itself isn't (this is a weird situation to be in in the first place!), but I'm not sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use std::intrinsics::copy
directly in stable Rust even though std::intrinsics
is unstable so I imagine the same will happen here. I'm not sure if that's a bug though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The range
name here is already stable, so we need to leave it regardless?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it doesn't look stable to me: https://doc.rust-lang.org/nightly/std/collections/range/
Edit: maybe you were referring to the #[stable(feature = "rust1", since = "1.0.0")]
but it's clearly nonsense and as far as I'm aware stability attributes have no effect whatsoever on reexports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically this declaration means the module itself is stable, the name std::collections::range
. With no stable contents though it seems fine to just delete.
Looks good to me! Basically r=me w/ a rebase |
9732afa
to
c515712
Compare
@bors r=alexcrichton |
📌 Commit c515712 has been approved by |
⌛ Testing commit c515712abf1f5a4e00d3362857c936c9a136a7a4 with merge 9739355ba6f08365dbe5125b616a0a4c55738bf4... |
💔 Test failed - status-travis |
real failure:
|
☔ The latest upstream changes (presumably #42856) made this pull request unmergeable. Please resolve the merge conflicts. |
Move it and Bound to core::ops while we're at it. Closes rust-lang#30877
c515712
to
143206d
Compare
@bors r=alexcrichton |
📌 Commit 143206d has been approved by |
⌛ Testing commit 143206d with merge 47a23a291ec33f4d7b1a9e0d4ebe04f555bd4a0d... |
Okay, that's the third time with the same error. Not going to retry.. cc @alexcrichton |
@bors: retry That... should be spurious :( If it keeps bouncing though this can update Cargo to pull in rust-lang/cargo#4218 which disables the test. |
⌛ Testing commit 143206d with merge 1dfcf8788539bb553366f27bbc84d65d8f4e4430... |
💔 Test failed - status-appveyor |
Looks like another failure on that test. We should probably bump Cargo. |
Filed #42916 to update Cargo -- I don't want to do that here because of the beta-nominated status for now at least, we can rather pull in an extra PR for that. I'm waiting on @alexcrichton or someone else to r+ the update. |
@bors: retry |
Update Cargo Haven't run extensive tests locally (not really sure what to test) but this primarily pulls in minor changes: rust-lang/cargo#4215, rust-lang/cargo#4209, and rust-lang/cargo#4218. The last one fixes the flaky cargo test by ignoring it, which should unblock #42745 -- that's beta nominated. r? @alexcrichton
⌛ Testing commit 143206d with merge 01134ea93735a079a8373e10ddbdece018530209... |
💔 Test failed - status-travis |
@bors retry os x timeout |
1.19 stabilization r? @alexcrichton
☀️ Test successful - status-appveyor, status-travis |
r? @alexcrichton