fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
401 B12 linesraw
1error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
2  --> $DIR/issue-32377.rs:15:14
3   |
4LL |     unsafe { mem::transmute(x) }
5   |              ^^^^^^^^^^^^^^
6   |
7   = note: source type: `[usize; 2]` (N bits)
8   = note: target type: `Bar<U>` (N bits)
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0512`.