-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Fix promotion stability hole in old borrowck #53699
Conversation
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors try for crater |
⌛ Trying commit 2d2b69d with merge bc5a74802bb3ffc82f51ef04bca58d64220124c4... |
☀️ Test successful - status-travis |
@craterbot run start=master#545f22340f72ee0efaf6463efb43a2840e3d35db end=try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 mode=check-only |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
@craterbot p=1 |
📝 Configuration of the ℹ️ 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 |
🎉 Experiment
|
The one regression does not show any errors except for "compilation failed"... I presume spurious (passes locally) @bors r=nikomatsakis p=1 (fixes stability hole) |
📌 Commit 2d2b69d has been approved by |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit 2d2b69d has been approved by |
⌛ Testing commit 2d2b69d with merge a433cc8cf3b2b2adc38800eac2276bc670598b91... |
💔 Test failed - status-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors retry (build succeeded, upload failed) |
Fix promotion stability hole in old borrowck r? @nikomatsakis I screwed up the promotion stability checks. Big time. They were basically nonexistant. We had tests for it. I also screwed up said tests. This is in stable already :( Basically stability checks of promotion only worked if you tried to use a const fn defined in the same crate. cc @eddyb
☀️ Test successful - status-appveyor, status-travis |
[beta] Properly prevent the promotion of unstable const fns backport of #53699 r? @nikomatsakis (the other PR was merged and beta nominated but not beta approved)
r? @nikomatsakis
I screwed up the promotion stability checks. Big time. They were basically nonexistant. We had tests for it. I also screwed up said tests. This is in stable already :(
Basically stability checks of promotion only worked if you tried to use a const fn defined in the same crate.
cc @eddyb