fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0533]: expected unit struct, unit variant or constant, found method `<<S as Tr>::A>::f<u8>` 2 --> $DIR/qualified-path-params.rs:20:9 3 | 4LL | <S as Tr>::A::f::<u8> => {} 5 | ^^^^^^^^^^^^^^^^^^^^^ 6 7error[E0029]: only char and numeric types are allowed in range patterns 8 --> $DIR/qualified-path-params.rs:22:15 9 | 10LL | 0 ..= <S as Tr>::A::f::<u8> => {} 11 | - ^^^^^^^^^^^^^^^^^^^^^ this is of type `fn() {S::f::<u8>}` but it should be `char` or numeric 12 | | 13 | this is of type `{integer}` 14 15error: aborting due to 2 previous errors 16 17Some errors have detailed explanations: E0029, E0533. 18For more information about an error, try `rustc --explain E0029`.