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