]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/impl-trait-with-const-arguments.rs
5 fn f
<const N
: usize>(u
: impl Usizer
) -> usize {
11 impl Usizer
for Usizable
{
18 assert_eq
!(f
::<4usize
>(Usizable
), 20usize
);
19 //~^ ERROR cannot provide explicit generic arguments when `impl Trait` is used in argument position