Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
kindck
/
kindck-send-unsafe.rs~rust-lang_master
blob: 3f0444ec9c80777e08155259569ea70d5eb3a6ba [
file
] [
log
] [
blame
]
fn assert_send
<
T
:
Send
>()
{
}
// unsafe ptrs are ok unless they point at unsendable things
fn test70
()
{
assert_send
::<*
mut
int
>();
}
fn test71
<
'a>() {
assert_send::<*mut &'
a
int
>();
//~ ERROR does not fulfill the required lifetime
}
fn main
()
{
}