]>
git.proxmox.com Git - rustc.git/blob - tests/ui/generics/issue-2936.rs
2 #![allow(non_camel_case_types)]
5 fn get_bar(&self) -> T
;
8 fn foo
<T
, U
: bar
<T
>>(b
: U
) -> T
{
16 impl bar
<isize> for cbar
{
17 fn get_bar(&self) -> isize {
22 fn cbar(x
: isize) -> cbar
{
29 let x
: isize = foo
::<isize, cbar
>(cbar(5));