|
1 | 1 | error[E0308]: mismatched types
|
2 |
| - --> $DIR/wrong-type-assume.rs:53:51 |
| 2 | + --> $DIR/wrong-type-assume.rs:49:51 |
3 | 3 | |
|
4 | 4 | LL | assert::is_transmutable::<Src, Dst, Context, {0u8}, false, false, false>();
|
5 | 5 | | ^^^ expected `bool`, found `u8`
|
6 | 6 |
|
7 |
| -error[E0080]: evaluation of `assert::is_transmutable::<test::Src, test::Dst, test::Context, {0u8}, false, false, false>::{constant#0}` failed |
8 |
| - --> $DIR/wrong-type-assume.rs:26:15 |
9 |
| - | |
10 |
| -LL | { from_options(ASSUME_ALIGNMENT, ASSUME_LIFETIMES, ASSUME_SAFETY, ASSUME_VALIDITY) } |
11 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors |
12 |
| - |
13 | 7 | error[E0308]: mismatched types
|
14 |
| - --> $DIR/wrong-type-assume.rs:54:58 |
| 8 | + --> $DIR/wrong-type-assume.rs:50:58 |
15 | 9 | |
|
16 | 10 | LL | assert::is_transmutable::<Src, Dst, Context, false, {0u8}, false, false>();
|
17 | 11 | | ^^^ expected `bool`, found `u8`
|
18 | 12 |
|
19 |
| -error[E0080]: evaluation of `assert::is_transmutable::<test::Src, test::Dst, test::Context, false, {0u8}, false, false>::{constant#0}` failed |
20 |
| - --> $DIR/wrong-type-assume.rs:26:15 |
21 |
| - | |
22 |
| -LL | { from_options(ASSUME_ALIGNMENT, ASSUME_LIFETIMES, ASSUME_SAFETY, ASSUME_VALIDITY) } |
23 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors |
24 |
| - |
25 | 13 | error[E0308]: mismatched types
|
26 |
| - --> $DIR/wrong-type-assume.rs:55:65 |
| 14 | + --> $DIR/wrong-type-assume.rs:51:65 |
27 | 15 | |
|
28 | 16 | LL | assert::is_transmutable::<Src, Dst, Context, false, false, {0u8}, false>();
|
29 | 17 | | ^^^ expected `bool`, found `u8`
|
30 | 18 |
|
31 |
| -error[E0080]: evaluation of `assert::is_transmutable::<test::Src, test::Dst, test::Context, false, false, {0u8}, false>::{constant#0}` failed |
32 |
| - --> $DIR/wrong-type-assume.rs:26:15 |
33 |
| - | |
34 |
| -LL | { from_options(ASSUME_ALIGNMENT, ASSUME_LIFETIMES, ASSUME_SAFETY, ASSUME_VALIDITY) } |
35 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors |
36 |
| - |
37 | 19 | error[E0308]: mismatched types
|
38 |
| - --> $DIR/wrong-type-assume.rs:56:72 |
| 20 | + --> $DIR/wrong-type-assume.rs:52:72 |
39 | 21 | |
|
40 | 22 | LL | assert::is_transmutable::<Src, Dst, Context, false, false, false, {0u8}>();
|
41 | 23 | | ^^^ expected `bool`, found `u8`
|
42 | 24 |
|
43 |
| -error[E0080]: evaluation of `assert::is_transmutable::<test::Src, test::Dst, test::Context, false, false, false, {0u8}>::{constant#0}` failed |
44 |
| - --> $DIR/wrong-type-assume.rs:26:15 |
45 |
| - | |
46 |
| -LL | { from_options(ASSUME_ALIGNMENT, ASSUME_LIFETIMES, ASSUME_SAFETY, ASSUME_VALIDITY) } |
47 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors |
48 |
| - |
49 |
| -error: aborting due to 8 previous errors |
| 25 | +error: aborting due to 4 previous errors |
50 | 26 |
|
51 |
| -Some errors have detailed explanations: E0080, E0308. |
52 |
| -For more information about an error, try `rustc --explain E0080`. |
| 27 | +For more information about this error, try `rustc --explain E0308`. |
0 commit comments