2024-04-27 14:32:47 +02:00
|
|
|
error[E0107]: trait takes at most 2 generic arguments but 3 generic arguments were supplied
|
|
|
|
|
--> $DIR/transmutable-ice-110969.rs:11:14
|
|
|
|
|
|
|
2024-08-27 14:05:54 +00:00
|
|
|
LL | Dst: TransmuteFrom<Src, Context, ASSUME>,
|
|
|
|
|
| ^^^^^^^^^^^^^ -------- help: remove the unnecessary generic argument
|
2024-07-22 22:51:53 +00:00
|
|
|
| |
|
|
|
|
|
| expected at most 2 generic arguments
|
2024-04-27 14:32:47 +02:00
|
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
|
|
|
|
--> $DIR/transmutable-ice-110969.rs:25:74
|
|
|
|
|
|
|
|
|
|
|
LL | const FALSE: bool = assert::is_transmutable::<Src, Dst, Context, {}>();
|
|
|
|
|
| ^^ expected `Assume`, found `()`
|
|
|
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
|
|
|
|
--> $DIR/transmutable-ice-110969.rs:25:29
|
|
|
|
|
|
|
|
|
|
|
LL | const FALSE: bool = assert::is_transmutable::<Src, Dst, Context, {}>();
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()`
|
|
|
|
|
|
2024-06-03 13:16:56 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2024-04-27 14:32:47 +02:00
|
|
|
|
2024-06-03 13:16:56 +00:00
|
|
|
Some errors have detailed explanations: E0107, E0308.
|
2024-04-27 14:32:47 +02:00
|
|
|
For more information about an error, try `rustc --explain E0107`.
|