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