1 // Regression test for https://github.com/rust-lang/rust/issues/101743
6 pub struct Repr<const B: usize>([i32; B]);
7 pub struct IBig(usize);
9 pub const fn base_as_ibig<const B: Word>() -> IBig {
13 impl<const B: Word> Repr<B> {
14 // If we change back to rendering the value of consts, check this doesn't add
15 // a <b> tag, but escapes correctly
17 // @has foo/struct.Repr.html '//section[@id="associatedconstant.BASE"]/h4' '= _'
18 pub const BASE: IBig = base_as_ibig::<B>();