2022-10-03 01:02:38 -05:00
|
|
|
error[E0412]: cannot find type `Dst` in this scope
|
2022-10-03 03:51:18 -05:00
|
|
|
--> $DIR/issue-101739-1.rs:8:9
|
2022-10-03 01:02:38 -05:00
|
|
|
|
|
2024-08-27 09:05:54 -05:00
|
|
|
LL | Dst: TransmuteFrom<Src, ASSUME_ALIGNMENT>,
|
2022-10-03 01:02:38 -05:00
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
2023-03-09 14:49:05 -06:00
|
|
|
error: the constant `ASSUME_ALIGNMENT` is not of type `Assume`
|
|
|
|
--> $DIR/issue-101739-1.rs:8:14
|
2022-10-03 01:02:38 -05:00
|
|
|
|
|
2024-08-27 09:05:54 -05:00
|
|
|
LL | Dst: TransmuteFrom<Src, ASSUME_ALIGNMENT>,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Assume`, found `bool`
|
2023-03-09 14:49:05 -06:00
|
|
|
|
|
2024-08-27 09:05:54 -05:00
|
|
|
note: required by a const generic parameter in `TransmuteFrom`
|
2023-03-09 14:49:05 -06:00
|
|
|
--> $SRC_DIR/core/src/mem/transmutability.rs:LL:COL
|
2022-10-03 01:02:38 -05:00
|
|
|
|
2024-09-08 00:49:25 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2022-10-03 01:02:38 -05:00
|
|
|
|
2024-09-08 00:49:25 -05:00
|
|
|
For more information about this error, try `rustc --explain E0412`.
|