Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
coherence
/
coherence-default-trait-impl.rs
blob: d57fb4777540394a8c87b9351a0b6f90f815acd6 [
file
] [
log
] [
blame
]
#![
feature
(
auto_traits
)]
#![
feature
(
negative_impls
)]
auto
trait
MySafeTrait
{}
struct
Foo
;
unsafe
impl
MySafeTrait
for
Foo
{}
//~^ ERROR E0199
unsafe
auto
trait
MyUnsafeTrait
{}
impl
MyUnsafeTrait
for
Foo
{}
//~^ ERROR E0200
fn
main
()
{}