1- error[E0277]: the trait bound `(): BikeshedIntrinsicFrom< [String; 0], assert::Context, true, true, true, true>` is not satisfied
1+ error[E0277]: ` [String; 0]` cannot be safely transmuted into `()` in the defining scope of `assert::Context`.
22 --> $DIR/should_require_well_defined_layout.rs:21:52
33 |
44LL | assert::is_maybe_transmutable::<repr_rust, ()>();
5- | ^^ the trait `BikeshedIntrinsicFrom< [String; 0], assert::Context, true, true, true, true>` is not implemented for `()`
5+ | ^^ ` [String; 0]` cannot be safely transmuted into `()` in the defining scope of `assert::Context`.
66 |
7+ = help: the trait `BikeshedIntrinsicFrom<[String; 0], assert::Context, true, true, true, true>` is not implemented for `()`
78note: required by a bound in `is_maybe_transmutable`
89 --> $DIR/should_require_well_defined_layout.rs:13:14
910 |
@@ -13,12 +14,13 @@ LL | where
1314LL | Dst: BikeshedIntrinsicFrom<Src, Context, true, true, true, true>
1415 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `is_maybe_transmutable`
1516
16- error[E0277]: the trait bound `[String; 0]: BikeshedIntrinsicFrom<u128, assert::Context, true, true, true, true>` is not satisfied
17+ error[E0277]: `u128` cannot be safely transmuted into `[String; 0]` in the defining scope of `assert::Context`.
1718 --> $DIR/should_require_well_defined_layout.rs:22:47
1819 |
1920LL | assert::is_maybe_transmutable::<u128, repr_rust>();
20- | ^^^^^^^^^ the trait `BikeshedIntrinsicFrom< u128, assert::Context, true, true, true, true>` is not implemented for `[String; 0]`
21+ | ^^^^^^^^^ ` u128` cannot be safely transmuted into `[String; 0]` in the defining scope of `assert::Context`.
2122 |
23+ = help: the trait `BikeshedIntrinsicFrom<u128, assert::Context, true, true, true, true>` is not implemented for `[String; 0]`
2224note: required by a bound in `is_maybe_transmutable`
2325 --> $DIR/should_require_well_defined_layout.rs:13:14
2426 |
@@ -28,12 +30,13 @@ LL | where
2830LL | Dst: BikeshedIntrinsicFrom<Src, Context, true, true, true, true>
2931 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `is_maybe_transmutable`
3032
31- error[E0277]: the trait bound `(): BikeshedIntrinsicFrom< [String; 1], assert::Context, true, true, true, true>` is not satisfied
33+ error[E0277]: ` [String; 1]` cannot be safely transmuted into `()` in the defining scope of `assert::Context`.
3234 --> $DIR/should_require_well_defined_layout.rs:27:52
3335 |
3436LL | assert::is_maybe_transmutable::<repr_rust, ()>();
35- | ^^ the trait `BikeshedIntrinsicFrom< [String; 1], assert::Context, true, true, true, true>` is not implemented for `()`
37+ | ^^ ` [String; 1]` cannot be safely transmuted into `()` in the defining scope of `assert::Context`.
3638 |
39+ = help: the trait `BikeshedIntrinsicFrom<[String; 1], assert::Context, true, true, true, true>` is not implemented for `()`
3740note: required by a bound in `is_maybe_transmutable`
3841 --> $DIR/should_require_well_defined_layout.rs:13:14
3942 |
@@ -43,12 +46,13 @@ LL | where
4346LL | Dst: BikeshedIntrinsicFrom<Src, Context, true, true, true, true>
4447 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `is_maybe_transmutable`
4548
46- error[E0277]: the trait bound `[String; 1]: BikeshedIntrinsicFrom<u128, assert::Context, true, true, true, true>` is not satisfied
49+ error[E0277]: `u128` cannot be safely transmuted into `[String; 1]` in the defining scope of `assert::Context`.
4750 --> $DIR/should_require_well_defined_layout.rs:28:47
4851 |
4952LL | assert::is_maybe_transmutable::<u128, repr_rust>();
50- | ^^^^^^^^^ the trait `BikeshedIntrinsicFrom< u128, assert::Context, true, true, true, true>` is not implemented for `[String; 1]`
53+ | ^^^^^^^^^ ` u128` cannot be safely transmuted into `[String; 1]` in the defining scope of `assert::Context`.
5154 |
55+ = help: the trait `BikeshedIntrinsicFrom<u128, assert::Context, true, true, true, true>` is not implemented for `[String; 1]`
5256note: required by a bound in `is_maybe_transmutable`
5357 --> $DIR/should_require_well_defined_layout.rs:13:14
5458 |
@@ -58,12 +62,13 @@ LL | where
5862LL | Dst: BikeshedIntrinsicFrom<Src, Context, true, true, true, true>
5963 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `is_maybe_transmutable`
6064
61- error[E0277]: the trait bound `(): BikeshedIntrinsicFrom< [String; 2], assert::Context, true, true, true, true>` is not satisfied
65+ error[E0277]: ` [String; 2]` cannot be safely transmuted into `()` in the defining scope of `assert::Context`.
6266 --> $DIR/should_require_well_defined_layout.rs:33:52
6367 |
6468LL | assert::is_maybe_transmutable::<repr_rust, ()>();
65- | ^^ the trait `BikeshedIntrinsicFrom< [String; 2], assert::Context, true, true, true, true>` is not implemented for `()`
69+ | ^^ ` [String; 2]` cannot be safely transmuted into `()` in the defining scope of `assert::Context`.
6670 |
71+ = help: the trait `BikeshedIntrinsicFrom<[String; 2], assert::Context, true, true, true, true>` is not implemented for `()`
6772note: required by a bound in `is_maybe_transmutable`
6873 --> $DIR/should_require_well_defined_layout.rs:13:14
6974 |
@@ -73,12 +78,13 @@ LL | where
7378LL | Dst: BikeshedIntrinsicFrom<Src, Context, true, true, true, true>
7479 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `is_maybe_transmutable`
7580
76- error[E0277]: the trait bound `[String; 2]: BikeshedIntrinsicFrom<u128, assert::Context, true, true, true, true>` is not satisfied
81+ error[E0277]: `u128` cannot be safely transmuted into `[String; 2]` in the defining scope of `assert::Context`.
7782 --> $DIR/should_require_well_defined_layout.rs:34:47
7883 |
7984LL | assert::is_maybe_transmutable::<u128, repr_rust>();
80- | ^^^^^^^^^ the trait `BikeshedIntrinsicFrom< u128, assert::Context, true, true, true, true>` is not implemented for `[String; 2]`
85+ | ^^^^^^^^^ ` u128` cannot be safely transmuted into `[String; 2]` in the defining scope of `assert::Context`.
8186 |
87+ = help: the trait `BikeshedIntrinsicFrom<u128, assert::Context, true, true, true, true>` is not implemented for `[String; 2]`
8288note: required by a bound in `is_maybe_transmutable`
8389 --> $DIR/should_require_well_defined_layout.rs:13:14
8490 |
0 commit comments