summary refs log tree commit diff
path: root/src/test/ui/generator/partial-initialization-across-yield.stderr
blob: 8bf0037e0700946f1e4f14b7fb4716663b17fcbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0381]: assign to part of possibly uninitialized variable: `t`
  --> $DIR/partial-initialization-across-yield.rs:12:9
   |
LL |         t.0 = 42;
   |         ^^^^^^^^ use of possibly uninitialized `t`

error[E0381]: assign to part of possibly uninitialized variable: `t`
  --> $DIR/partial-initialization-across-yield.rs:23:9
   |
LL |         t.0 = 42;
   |         ^^^^^^^^ use of possibly uninitialized `t`

error[E0381]: assign to part of possibly uninitialized variable: `t`
  --> $DIR/partial-initialization-across-yield.rs:34:9
   |
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`.