@@ -4,7 +4,7 @@ error[E0512]: cannot transmute between types of different sizes, or dependently-
44LL | let _: i32 = transmute(x);
55 | ^^^^^^^^^
66 |
7- = note: source type: `T` (this type does not have a fixed size )
7+ = note: source type: `T` (`T` is too generic to determine the layout )
88 = note: target type: `i32` (32 bits)
99
1010error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
@@ -13,7 +13,7 @@ error[E0512]: cannot transmute between types of different sizes, or dependently-
1313LL | let _: i32 = transmute(x);
1414 | ^^^^^^^^^
1515 |
16- = note: source type: `(T, i32)` (size can vary because of T )
16+ = note: source type: `(T, i32)` (`T` is too generic to determine the layout )
1717 = note: target type: `i32` (32 bits)
1818
1919error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
@@ -22,7 +22,7 @@ error[E0512]: cannot transmute between types of different sizes, or dependently-
2222LL | let _: i32 = transmute(x);
2323 | ^^^^^^^^^
2424 |
25- = note: source type: `[T; 10]` (size can vary because of T )
25+ = note: source type: `[T; 10]` (`T` is too generic to determine the layout )
2626 = note: target type: `i32` (32 bits)
2727
2828error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
@@ -31,7 +31,7 @@ error[E0512]: cannot transmute between types of different sizes, or dependently-
3131LL | let _: i32 = transmute(x);
3232 | ^^^^^^^^^
3333 |
34- = note: source type: `Bad<T>` (size can vary because of T )
34+ = note: source type: `Bad<T>` (`T` is too generic to determine the layout )
3535 = note: target type: `i32` (32 bits)
3636
3737error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
@@ -40,7 +40,7 @@ error[E0512]: cannot transmute between types of different sizes, or dependently-
4040LL | let _: i32 = transmute(x);
4141 | ^^^^^^^^^
4242 |
43- = note: source type: `Worse<T>` (size can vary because of T )
43+ = note: source type: `Worse<T>` (`T` is too generic to determine the layout )
4444 = note: target type: `i32` (32 bits)
4545
4646error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
@@ -49,7 +49,7 @@ error[E0512]: cannot transmute between types of different sizes, or dependently-
4949LL | let _: i32 = transmute(x);
5050 | ^^^^^^^^^
5151 |
52- = note: source type: `Option<T>` (size can vary because of T )
52+ = note: source type: `Option<T>` (`T` is too generic to determine the layout )
5353 = note: target type: `i32` (32 bits)
5454
5555error: aborting due to 6 previous errors
0 commit comments