mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
22 lines
713 B
Plaintext
22 lines
713 B
Plaintext
|
error[E0381]: assign to part of possibly uninitialized variable: `t`
|
||
|
--> $DIR/partial-initialization-across-await.rs:15:5
|
||
|
|
|
||
|
LL | t.0 = 42;
|
||
|
| ^^^^^^^^ use of possibly uninitialized `t`
|
||
|
|
||
|
error[E0381]: assign to part of possibly uninitialized variable: `t`
|
||
|
--> $DIR/partial-initialization-across-await.rs:24:5
|
||
|
|
|
||
|
LL | t.0 = 42;
|
||
|
| ^^^^^^^^ use of possibly uninitialized `t`
|
||
|
|
||
|
error[E0381]: assign to part of possibly uninitialized variable: `t`
|
||
|
--> $DIR/partial-initialization-across-await.rs:33:5
|
||
|
|
|
||
|
LL | t.x = 42;
|
||
|
| ^^^^^^^^ use of possibly uninitialized `t`
|
||
|
|
||
|
error: aborting due to 3 previous errors
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0381`.
|