summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-2311.rs
blob: 21ff19f7f0316df01d47029bd5a3494f00caf5d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
#![allow(non_camel_case_types)]

// pretty-expanded FIXME #23616

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

pub fn main() { }