]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-2312.rs
Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc
[rust.git] / src / test / ui / issues / issue-2312.rs
1 // check-pass
2 #![allow(dead_code)]
3 #![allow(non_camel_case_types)]
4
5 // Testing that the B's are resolved
6
7
8 trait clam<A> { fn get(self) -> A; }
9
10 struct foo(isize);
11
12 impl foo {
13     pub fn bar<B,C:clam<B>>(&self, _c: C) -> B { panic!(); }
14 }
15
16 pub fn main() { }