struct Wrapper(G); trait Foo { fn bar() -> Wrapper; //~^ ERROR `impl Sized` cannot be sent between threads safely } fn main() {}