11 lines
146 B
Rust
11 lines
146 B
Rust
|
// Testing that the B's are resolved
|
||
|
|
||
|
trait clam<A> { }
|
||
|
|
||
|
enum foo = int;
|
||
|
|
||
|
impl foo {
|
||
|
fn bar<B,C:clam<B>>(c: C) -> B { fail; }
|
||
|
}
|
||
|
|
||
|
fn main() { }
|