1 // Test that we don't allow yielding from a generator while a local is partially
4 #![feature(generators)]
6 struct S { x: i32, y: i32 }
11 let mut t: (i32, i32);
13 //~^ ERROR assign to part of possibly uninitialized variable: `t` [E0381]
20 fn test_tuple_struct() {
24 //~^ ERROR assign to part of possibly uninitialized variable: `t` [E0381]
35 //~^ ERROR assign to part of possibly uninitialized variable: `t` [E0381]