]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/qualified/qualified-path-params.rs
1 // Check that qualified paths with type parameters
2 // fail during type checking and not during parsing
20 <S
as Tr
>::A
::f
::<u8> => {}
21 //~^ ERROR expected unit struct, unit variant or constant, found associated function
22 0 ..= <S
as Tr
>::A
::f
::<u8> => {}
//~ ERROR only char and numeric types are allowed in range