Feature gate: #![feature(disjoint_bitor)]
This is a tracking issue for the unchecked_disjoint_bitor method on integer types (and the associated intrinsic implementing it).
This is a method for cases where a | b and a + b return the same value, named after the disjoint flag in LLVM.
ACP: rust-lang/libs-team#373
Public API
impl u8/.../u128/usize {
pub const unsafe fn unchecked_disjoint_bitor(self, other: Self) -> Self;
}
Steps / History
Unresolved Questions
Feature gate:
#![feature(disjoint_bitor)]This is a tracking issue for the
unchecked_disjoint_bitormethod on integer types (and the associated intrinsic implementing it).This is a method for cases where
a | banda + breturn the same value, named after thedisjointflag in LLVM.ACP: rust-lang/libs-team#373
Public API
Steps / History
unchecked_disjoint_bitorper ACP373 #135760Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩