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> => {}
23 //~^ ERROR only `char` and numeric types are allowed in range