Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
5f6fa960c254dfda8ba1d5dc2fb281b6908d8005
/
.
/
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
()
{
}