]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/inference/issue-86162-2.rs
1 // Regression test of #86162.
3 fn gen
<T
>() -> T { todo!() }
8 fn bar(x
: impl Clone
) {}
12 Foo
::bar(gen()); //<- Do not suggest `Foo::bar::<impl Clone>()`!
13 //~^ ERROR: type annotations needed