Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
issues
/
issue-18173.rs
blob: a9f20e827fbe3249542225bef6c47beecf156a8f [
file
] [
log
] [
blame
]
//@ 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
()
{
}