fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
737 B21 linesraw
1error[E0381]: assign to part of possibly-uninitialized variable: `t`
2  --> $DIR/partial-initialization-across-yield.rs:12:9
3   |
4LL |         t.0 = 42;
5   |         ^^^^^^^^ use of possibly-uninitialized `t`
6
7error[E0381]: assign to part of possibly-uninitialized variable: `t`
8  --> $DIR/partial-initialization-across-yield.rs:23:9
9   |
10LL |         t.0 = 42;
11   |         ^^^^^^^^ use of possibly-uninitialized `t`
12
13error[E0381]: assign to part of possibly-uninitialized variable: `t`
14  --> $DIR/partial-initialization-across-yield.rs:34:9
15   |
16LL |         t.x = 42;
17   |         ^^^^^^^^ use of possibly-uninitialized `t`
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0381`.