Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
error-codes
/
E0277-2.rs
blob: 428518705b83984e8f8287d0f39b2efb6701a272 [
file
] [
log
] [
blame
]
struct
Foo
{
bar
:
Bar
}
struct
Bar
{
baz
:
Baz
}
struct
Baz
{
x
:
*
const
u8
}
fn
is_send
<
T
:
Send
>()
{
}
fn
main
()
{
is_send
::<
Foo
>();
//~^ ERROR `*const u8` cannot be sent between threads safely
}