1 // FIXME(eholk): temporarily disabled while drop range tracking is disabled
2 // (see generator_interior.rs:27)
5 #![feature(negative_impls, generators)]
17 //~^ ERROR generator cannot be sent between threads safely
18 // FIXME: it would be nice to make this work.
19 let guard = Bar { foo: Foo, x: 42 };
25 //~^ ERROR generator cannot be sent between threads safely
26 // FIXME: it would be nice to make this work.
27 let guard = Bar { foo: Foo, x: 42 };
35 //~^ ERROR generator cannot be sent between threads safely
36 // FIXME: it would be nice to make this work.
37 let guard = Bar { foo: Foo, x: 42 };
38 let Bar { foo, x } = guard;
44 fn assert_send<T: Send>(_: T) {}