Sign in
fuchsia
/
third_party
/
rust
/
0c7f40f3b2fb75649ec6ed3970486c34dbf4db3b
/
.
/
src
/
test
/
pretty
/
trait-safety.rs
blob: b2f2d610c31228c2de294f5726420c417f58b976 [
file
] [
log
] [
blame
]
// pp-exact
unsafe
trait
UnsafeTrait
{
fn
foo
(&
self
);
}
unsafe
impl
UnsafeTrait
for
isize
{
fn
foo
(&
self
)
{
}
}
pub
unsafe
trait
PubUnsafeTrait
{
fn
foo
(&
self
);
}
fn
main
()
{
}