2023-02-23 10:27:06 -07:00
|
|
|
error[E0107]: trait takes at most 3 generic arguments but 6 generic arguments were supplied
|
2022-10-03 17:51:18 +09:00
|
|
|
--> $DIR/issue-101739-2.rs:18:14
|
|
|
|
|
|
|
|
|
LL | Dst: BikeshedIntrinsicFrom<
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ expected at most 3 generic arguments
|
|
|
|
...
|
|
|
|
LL | / ASSUME_LIFETIMES,
|
|
|
|
LL | | ASSUME_VALIDITY,
|
|
|
|
LL | | ASSUME_VISIBILITY,
|
|
|
|
| |_____________________________- help: remove these generic arguments
|
|
|
|
|
2023-10-31 13:45:26 +00:00
|
|
|
error: the constant `ASSUME_ALIGNMENT` is not of type `Assume`
|
|
|
|
--> $DIR/issue-101739-2.rs:18:14
|
|
|
|
|
|
|
|
|
LL | Dst: BikeshedIntrinsicFrom<
|
|
|
|
| ______________^
|
|
|
|
LL | |
|
|
|
|
LL | | Src,
|
|
|
|
LL | | Context,
|
|
|
|
... |
|
|
|
|
LL | | ASSUME_VISIBILITY,
|
|
|
|
LL | | >,
|
|
|
|
| |_________^ expected `Assume`, found `bool`
|
|
|
|
|
|
|
|
|
note: required by a bound in `BikeshedIntrinsicFrom`
|
|
|
|
--> $SRC_DIR/core/src/mem/transmutability.rs:LL:COL
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2022-10-03 17:51:18 +09:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0107`.
|