about summary refs log tree commit diff
path: root/tests/ui/issues/issue-2311.rs
blob: 5388e634c096ffd2e4da754d30ff7d3396b12b80 (plain)
1
2
3
4
5
6
7
8
9
10
//@ check-pass
#![allow(non_camel_case_types)]


trait clam<A> { fn get(self) -> A; }
trait foo<A> {
   fn bar<B,C:clam<A>>(&self, c: C) -> B;
}

pub fn main() { }