Closed
Description
Tracking issue for makeing trailing_zeros and leading_zeros for non zero types const fn as introduced by #79114.
The feature gate for the issue is #![feature(const_nonzero_leading_trailing_zeros)]
.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
- Stabilization PR (see instructions on rustc-dev-guide)
Unresolved Questions
Stabilizing const functions with UB such as cttz_nonzero is blocked on rust-lang/rfcs#3016