Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
traits
/
inheritance
/
auxiliary
/
auto_xc.rs
blob: 9af26cb2e2bf926ed7eac435d7865c153691f606 [
file
] [
log
] [
blame
]
pub
trait
Foo
{
fn
f
(&
self
)
->
isize
;
}
pub
trait
Bar
{
fn
g
(&
self
)
->
isize
;
}
pub
trait
Baz
{
fn
h
(&
self
)
->
isize
;
}
pub
trait
Quux
:
Foo
+
Bar
+
Baz
{
}
impl
<
T
:
Foo
+
Bar
+
Baz
>
Quux
for
T
{
}