about summary refs log tree commit diff
path: root/tests/ui/transmutability/malformed-program-gracefulness/wrong-adt-assume.stderr
blob: cae700ecfdc777e7de40b2c32ecb7d2102c7fc86 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: the constant `ASSUME` is not of type `Assume`
  --> $DIR/wrong-adt-assume.rs:14:9
   |
LL |     u8: TransmuteFrom<u8, ASSUME>,
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Assume`, found `NotAssume`
   |
note: required by a const generic parameter in `TransmuteFrom`
  --> $SRC_DIR/core/src/mem/transmutability.rs:LL:COL

error: aborting due to 1 previous error