Sign in
rust
/
rust
/
dc9879cb3d3446c41b6d7d6813b7bfd17da1134f
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
check-wf-on-non-defaulted-rpitit.rs
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
()
{}