Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-18173.rs
blob: a9f20e827fbe3249542225bef6c47beecf156a8f [
file
] [
log
] [
blame
] [
edit
]
//@ 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
()
{
}