]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-union-uninitialized.stderr
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / borrowck / borrowck-union-uninitialized.stderr
1 error[E0381]: assign to part of possibly-uninitialized variable: `s`
2   --> $DIR/borrowck-union-uninitialized.rs:13:9
3    |
4 LL |         s.a = 0;
5    |         ^^^^^^^ use of possibly-uninitialized `s`
6
7 error[E0381]: assign to part of possibly-uninitialized variable: `u`
8   --> $DIR/borrowck-union-uninitialized.rs:14:9
9    |
10 LL |         u.a = 0;
11    |         ^^^^^^^ use of possibly-uninitialized `u`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0381`.