summary refs log tree commit diff
path: root/src/test/ui/issues/issue-61882.stderr
blob: 09ffe8e64b1b16962be4e5872952056db8f6288f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error[E0308]: mismatched types
  --> $DIR/issue-61882.rs:4:27
   |
LL |     const B: A<u8> = Self(0);
   |                           ^ expected `bool`, found integer

error[E0308]: mismatched types
  --> $DIR/issue-61882.rs:4:22
   |
LL |     const B: A<u8> = Self(0);
   |                      ^^^^^^^ expected `u8`, found `bool`
   |
   = note: expected struct `A<u8>`
              found struct `A<bool>`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.