Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
tests
/
ui
/
issues
/
issue-18173.rs
blob: a9f20e827fbe3249542225bef6c47beecf156a8f [
file
]
//@ check-pass
trait
Foo
{
type
T
;
}
// should be able to use a trait with an associated type without specifying it as an argument
trait
Bar
<
F
:
Foo
>
{
fn
bar
(
foo
:
&
F
);
}
pub
fn
main
()
{
}