1 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
2 --> $DIR/transmute-fat-pointers.rs:10:14
4 LL | unsafe { transmute(x) }
7 = note: source type: `&[T]` (N bits)
8 = note: target type: `&U` (pointer to `U`)
10 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
11 --> $DIR/transmute-fat-pointers.rs:14:14
13 LL | unsafe { transmute(x) }
16 = note: source type: `&T` (pointer to `T`)
17 = note: target type: `&U` (pointer to `U`)
19 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
20 --> $DIR/transmute-fat-pointers.rs:26:14
22 LL | unsafe { transmute(x) }
25 = note: source type: `&T` (pointer to `T`)
26 = note: target type: `&U` (N bits)
28 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
29 --> $DIR/transmute-fat-pointers.rs:30:14
31 LL | unsafe { transmute(x) }
34 = note: source type: `&T` (N bits)
35 = note: target type: `&U` (pointer to `U`)
37 error: aborting due to 4 previous errors
39 For more information about this error, try `rustc --explain E0512`.