Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
9748d87dc70a9a6725c5dbd76ce29d04752b4f90
/
.
/
tests
/
rustdoc
/
inline_cross
/
auxiliary
/
default-trait-method.rs
blob: ce60bbfb4b0de0e6f07e6a343a585cd2fdc33a08 [
file
] [
log
] [
blame
]
#![
feature
(
specialization
)]
#![
crate_name
=
"foo"
]
pub
trait
Item
{
fn
foo
();
fn
bar
();
fn
baz
()
{}
}
pub
struct
Foo
;
impl
Item
for
Foo
{
default
fn
foo
()
{}
fn
bar
()
{}
}