]> git.proxmox.com Git - rustc.git/blob - src/test/ui/qualified/qualified-path-params.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / qualified / qualified-path-params.stderr
1 error[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 |
4 LL | <S as Tr>::A::f::<u8> => {}
5 | ^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0029]: only char and numeric types are allowed in range patterns
8 --> $DIR/qualified-path-params.rs:22:15
9 |
10 LL | 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
15 error: aborting due to 2 previous errors
16
17 Some errors have detailed explanations: E0029, E0533.
18 For more information about an error, try `rustc --explain E0029`.