We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 727e350 commit 87077a9Copy full SHA for 87077a9
src/int/mod.rs
@@ -313,6 +313,10 @@ pub(crate) trait HInt: Int {
313
/// Integer that is double the bit width of the integer this trait is implemented for
314
type D: DInt<H = Self> + MinInt;
315
316
+ // NB: some of the below methods could have default implementations (e.g. `widen_hi`), but for
317
+ // unknown reasons this can cause infinite recursion when optimizations are disabled. See
318
+ // <https://github.com/rust-lang/compiler-builtins/pull/707> for context.
319
+
320
/// Widens (using default extension) the integer to have double bit width
321
fn widen(self) -> Self::D;
322
/// Widens (zero extension only) the integer to have double bit width. This is needed to get
0 commit comments