fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0308]: mismatched types 2 --> $DIR/issue-61882.rs:4:27 3 | 4LL | const B: A<u8> = Self(0); 5 | ^ expected bool, found integer 6 | 7 = note: expected type `bool` 8 found type `{integer}` 9 10error[E0308]: mismatched types 11 --> $DIR/issue-61882.rs:4:22 12 | 13LL | const B: A<u8> = Self(0); 14 | ^^^^^^^ expected u8, found bool 15 | 16 = note: expected type `A<u8>` 17 found type `A<bool>` 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0308`.