fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
510 B15 linesraw
1error[E0381]: assign to part of possibly-uninitialized variable: `s`
2  --> $DIR/borrowck-union-uninitialized.rs:13:9
3   |
4LL |         s.a = 0;
5   |         ^^^^^^^ use of possibly-uninitialized `s`
6
7error[E0381]: assign to part of possibly-uninitialized variable: `u`
8  --> $DIR/borrowck-union-uninitialized.rs:14:9
9   |
10LL |         u.a = 0;
11   |         ^^^^^^^ use of possibly-uninitialized `u`
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0381`.