|
1 |
| -error[E0308]: mismatched types |
2 |
| - --> $DIR/invalid-patterns.rs:29:21 |
3 |
| - | |
4 |
| -LL | get_flag::<false, 0xFF>(); |
5 |
| - | ^^^^ expected `char`, found `u8` |
6 |
| - |
7 |
| -error[E0308]: mismatched types |
8 |
| - --> $DIR/invalid-patterns.rs:31:14 |
9 |
| - | |
10 |
| -LL | get_flag::<7, 'c'>(); |
11 |
| - | ^ expected `bool`, found integer |
12 |
| - |
13 |
| -error[E0308]: mismatched types |
14 |
| - --> $DIR/invalid-patterns.rs:33:14 |
15 |
| - | |
16 |
| -LL | get_flag::<42, 0x5ad>(); |
17 |
| - | ^^ expected `bool`, found integer |
18 |
| - |
19 |
| -error[E0308]: mismatched types |
20 |
| - --> $DIR/invalid-patterns.rs:33:18 |
21 |
| - | |
22 |
| -LL | get_flag::<42, 0x5ad>(); |
23 |
| - | ^^^^^ expected `char`, found `u8` |
24 |
| - |
25 | 1 | error[E0080]: evaluation of constant value failed
|
26 | 2 | --> $DIR/invalid-patterns.rs:38:32
|
27 | 3 | |
|
@@ -56,6 +32,30 @@ error[E0080]: evaluation of constant value failed
|
56 | 32 | LL | get_flag::<{ unsafe { bool_raw.boolean } }, { unsafe { char_raw.character } }>();
|
57 | 33 | | ^^^^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
|
58 | 34 |
|
| 35 | +error[E0308]: mismatched types |
| 36 | + --> $DIR/invalid-patterns.rs:29:21 |
| 37 | + | |
| 38 | +LL | get_flag::<false, 0xFF>(); |
| 39 | + | ^^^^ expected `char`, found `u8` |
| 40 | + |
| 41 | +error[E0308]: mismatched types |
| 42 | + --> $DIR/invalid-patterns.rs:31:14 |
| 43 | + | |
| 44 | +LL | get_flag::<7, 'c'>(); |
| 45 | + | ^ expected `bool`, found integer |
| 46 | + |
| 47 | +error[E0308]: mismatched types |
| 48 | + --> $DIR/invalid-patterns.rs:33:14 |
| 49 | + | |
| 50 | +LL | get_flag::<42, 0x5ad>(); |
| 51 | + | ^^ expected `bool`, found integer |
| 52 | + |
| 53 | +error[E0308]: mismatched types |
| 54 | + --> $DIR/invalid-patterns.rs:33:18 |
| 55 | + | |
| 56 | +LL | get_flag::<42, 0x5ad>(); |
| 57 | + | ^^^^^ expected `char`, found `u8` |
| 58 | + |
59 | 59 | error: aborting due to 8 previous errors
|
60 | 60 |
|
61 | 61 | Some errors have detailed explanations: E0080, E0308.
|
|
0 commit comments