rust/src/test/ui/issues/issue-61882.stderr
2019-06-18 17:02:26 +03:00

22 lines
583 B
Plaintext

error[E0308]: mismatched types
--> $DIR/issue-61882.rs:4:27
|
LL | const B: A<u8> = Self(0);
| ^ expected bool, found integer
|
= note: expected type `bool`
found type `{integer}`
error[E0308]: mismatched types
--> $DIR/issue-61882.rs:4:22
|
LL | const B: A<u8> = Self(0);
| ^^^^^^^ expected u8, found bool
|
= note: expected type `A<u8>`
found type `A<bool>`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.