Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
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
()
{}
}