blob: 2845b401bd59e3de9d937a200acafd9a963e7552 [file] [log] [blame]
struct Wrapper<G: Send>(G);
trait Foo {
fn bar() -> Wrapper<impl Sized>;
//~^ ERROR `impl Sized` cannot be sent between threads safely
}
fn main() {}