rust/tests/ui/transmutability/issue-101739-1.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
978 B
Plaintext
Raw Normal View History

2022-10-03 06:02:38 +00:00
error[E0412]: cannot find type `Dst` in this scope
2022-10-03 08:51:18 +00:00
--> $DIR/issue-101739-1.rs:8:9
2022-10-03 06:02:38 +00:00
|
LL | Dst: BikeshedIntrinsicFrom<Src, ASSUME_ALIGNMENT>,
2022-10-03 06:02:38 +00:00
| ^^^ not found in this scope
error: the constant `ASSUME_ALIGNMENT` is not of type `Assume`
--> $DIR/issue-101739-1.rs:8:14
2022-10-03 06:02:38 +00:00
|
LL | Dst: BikeshedIntrinsicFrom<Src, ASSUME_ALIGNMENT>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Assume`, found `bool`
|
note: required by a const generic parameter in `BikeshedIntrinsicFrom`
--> $SRC_DIR/core/src/mem/transmutability.rs:LL:COL
2022-10-03 06:02:38 +00:00
error[E0308]: mismatched types
--> $DIR/issue-101739-1.rs:8:41
|
LL | Dst: BikeshedIntrinsicFrom<Src, ASSUME_ALIGNMENT>,
| ^^^^^^^^^^^^^^^^ expected `Assume`, found `bool`
error: aborting due to 3 previous errors
2022-10-03 06:02:38 +00:00
Some errors have detailed explanations: E0308, E0412.
For more information about an error, try `rustc --explain E0308`.