1 error[E0308]: mismatched types
2 --> $DIR/issue-61882.rs:4:27
4 LL | const B: A<u8> = Self(0);
5 | ---- ^ expected `bool`, found integer
7 | arguments to this function are incorrect
9 note: tuple struct defined here
10 --> $DIR/issue-61882.rs:1:8
15 error[E0308]: mismatched types
16 --> $DIR/issue-61882.rs:4:22
18 LL | const B: A<u8> = Self(0);
19 | ^^^^^^^ expected `u8`, found `bool`
21 = note: expected struct `A<u8>`
22 found struct `A<bool>`
24 error: aborting due to 2 previous errors
26 For more information about this error, try `rustc --explain E0308`.