Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
not-panic
/
not-panic-safe-5.rs
blob: e0d37517dd469bac4a13d7d93c9e1491a9fe9c3a [
file
] [
log
] [
blame
]
#![
allow
(
dead_code
)]
use
std
::
panic
::
UnwindSafe
;
use
std
::
cell
::
UnsafeCell
;
fn
assert
<
T
:
UnwindSafe
+
?
Sized
>()
{}
fn
main
()
{
assert
::<*
const
UnsafeCell
<
i32
>>();
//~ ERROR E0277
}