blob: 11468040ee53027213cb3f63f55ccd1f529ccc72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// run-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() {
}
|