-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Make NonZero::get
generic.
#120563
Make NonZero::get
generic.
#120563
Conversation
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 reviewed the 3rd commit only (the first 2 are identical to #120521 based on commit hash).
Looks good!
#119452 added codegen tests (@AngelicosPhosphoros thank you 👏 👏) so as long as those are good, I am happy with this PR.
@bors delegate+ Please rebase after #120521 lands, so we see just After #120521 is merged and then #120486 is rebased and merged, regardless of whether this PR has been merged by that point, I plan to propose stabilization on #120257. Between the time for the team to approve the stabilization, and land a stabilization PR, and then the nightly and beta period, it will give enough time in my opinion to bail out if anything appears to be going wrong with generic nonzero. |
✌️ @reitermarkus, you can now approve this pull request! If @dtolnay told you to " |
Yes, I specifically ran these tests locally, so hopefully should be fine. |
☔ The latest upstream changes (presumably #120521) made this pull request unmergeable. Please resolve the merge conflicts. |
0404244
to
df0e0f9
Compare
df0e0f9
to
24e2cf0
Compare
@bors r=dtolnay |
…r=dtolnay Make `NonZero::get` generic. Tracking issue: rust-lang#120257 Depends on rust-lang#120521. r? `@dtolnay`
…r=dtolnay Make `NonZero::get` generic. Tracking issue: rust-lang#120257 Depends on rust-lang#120521. r? ``@dtolnay``
Rollup of 6 pull requests Successful merges: - rust-lang#120486 (Use generic `NonZero` internally.) - rust-lang#120500 (Implement intrinsics with fallback bodies) - rust-lang#120530 (Be less confident when `dyn` suggestion is not checked for object safety) - rust-lang#120563 (Make `NonZero::get` generic.) - rust-lang#120847 (Continue compilation after check_mod_type_wf errors) - rust-lang#120959 (Remove good path delayed bugs) r? `@ghost` `@rustbot` modify labels: rollup
…r=dtolnay Make `NonZero::get` generic. Tracking issue: rust-lang#120257 Depends on rust-lang#120521. r? ```@dtolnay```
…dtolnay Make `NonZero::get` generic. Tracking issue: rust-lang#120257 Depends on rust-lang#120521. r? `@dtolnay`
💔 Test failed - checks-actions |
The job Click to see the possible cause of the failure (guessed by this bot)
|
✌️ @reitermarkus, you can now approve this pull request! If @dtolnay told you to " |
☀️ Test successful - checks-actions |
Finished benchmarking commit (4316d0c): comparison URL. Overall result: ❌✅ regressions and improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 638.214s -> 639.28s (0.17%) |
Tracking issue: #120257
Depends on #120521.
r? @dtolnay