-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add implementations for unbounded_shl
/unbounded_shr
#129377
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
Conversation
unbounded_shl
/unbounded_shr
unbounded_shl
/unbounded_shr
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Not sure if github will hide it, since it looks like I raced with one of your updates, but I have a suggestion in #129377
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…nded_shr`/`unbounded_shl`
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Also, don't know whether I need to do this now, but rustc-dev-guide apparently wants this for new |
…c_allow_const_fn_unstable`
Thanks! I'm glad to have these, since I think they're the only good shifts :) @bors r+ rollup |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#129190 (Add f16 and f128 to tests/ui/consts/const-float-bits-conv.rs) - rust-lang#129377 (Add implementations for `unbounded_shl`/`unbounded_shr`) - rust-lang#129539 (link to Future::poll from the Poll docs) - rust-lang#129588 (pal/hermit: correctly round up microseconds in `Thread::sleep`) - rust-lang#129592 (Remove cfg(test) from library/core) - rust-lang#129597 (mv `build_reduced_graph_for_external_crate_res` into Resolver) - rust-lang#129600 (Tie `impl_trait_overcaptures` lint to Rust 2024) r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#129190 (Add f16 and f128 to tests/ui/consts/const-float-bits-conv.rs) - rust-lang#129377 (Add implementations for `unbounded_shl`/`unbounded_shr`) - rust-lang#129539 (link to Future::poll from the Poll docs) - rust-lang#129588 (pal/hermit: correctly round up microseconds in `Thread::sleep`) - rust-lang#129592 (Remove cfg(test) from library/core) - rust-lang#129597 (mv `build_reduced_graph_for_external_crate_res` into Resolver) - rust-lang#129600 (Tie `impl_trait_overcaptures` lint to Rust 2024) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#129377 - chorman0773:unbounded-shifts-impl, r=scottmcm Add implementations for `unbounded_shl`/`unbounded_shr` Tracking Issue: rust-lang#129375 This implements `unbounded_shl` and `unbounded_shr` under the feature gate `unbounded_shifts`
Tracking Issue: #129375
This implements
unbounded_shl
andunbounded_shr
under the feature gateunbounded_shifts