]>
Commit | Line | Data |
---|---|---|
ff7c6d11 | 1 | error: missing angle brackets in associated item path |
0731742a | 2 | --> $DIR/bad-assoc-pat.rs:3:9 |
ff7c6d11 | 3 | | |
0531ce1d | 4 | LL | [u8]::AssocItem => {} |
ff7c6d11 XL |
5 | | ^^^^^^^^^^^^^^^ help: try: `<[u8]>::AssocItem` |
6 | ||
7 | error: missing angle brackets in associated item path | |
0731742a | 8 | --> $DIR/bad-assoc-pat.rs:6:9 |
ff7c6d11 | 9 | | |
0531ce1d | 10 | LL | (u8, u8)::AssocItem => {} |
ff7c6d11 XL |
11 | | ^^^^^^^^^^^^^^^^^^^ help: try: `<(u8, u8)>::AssocItem` |
12 | ||
13 | error: missing angle brackets in associated item path | |
0731742a | 14 | --> $DIR/bad-assoc-pat.rs:9:9 |
ff7c6d11 | 15 | | |
0531ce1d | 16 | LL | _::AssocItem => {} |
ff7c6d11 XL |
17 | | ^^^^^^^^^^^^ help: try: `<_>::AssocItem` |
18 | ||
19 | error: missing angle brackets in associated item path | |
0731742a | 20 | --> $DIR/bad-assoc-pat.rs:14:10 |
ff7c6d11 | 21 | | |
0531ce1d | 22 | LL | &(u8,)::AssocItem => {} |
ff7c6d11 XL |
23 | | ^^^^^^^^^^^^^^^^ help: try: `<(u8,)>::AssocItem` |
24 | ||
532ac7d7 XL |
25 | error: missing angle brackets in associated item path |
26 | --> $DIR/bad-assoc-pat.rs:32:9 | |
27 | | | |
28 | LL | ty!()::AssocItem => {} | |
29 | | ^^^^^^^^^^^^^^^^ help: try: `<ty!()>::AssocItem` | |
30 | ||
31 | error: missing angle brackets in associated item path | |
32 | --> $DIR/bad-assoc-pat.rs:21:19 | |
33 | | | |
34 | LL | ($ty: ty) => ($ty::AssocItem) | |
35 | | ^^^^^^^^^^^^^^ help: try: `<$ty>::AssocItem` | |
36 | ... | |
37 | LL | pat!(u8) => {} | |
38 | | -------- in this macro invocation | |
74b04a01 XL |
39 | | |
40 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
532ac7d7 | 41 | |
dfeec247 | 42 | error[E0599]: no associated item named `AssocItem` found for slice `[u8]` in the current scope |
0731742a | 43 | --> $DIR/bad-assoc-pat.rs:3:15 |
ff7c6d11 | 44 | | |
0531ce1d | 45 | LL | [u8]::AssocItem => {} |
532ac7d7 | 46 | | ^^^^^^^^^ associated item not found in `[u8]` |
ff7c6d11 | 47 | |
dfeec247 | 48 | error[E0599]: no associated item named `AssocItem` found for tuple `(u8, u8)` in the current scope |
0731742a | 49 | --> $DIR/bad-assoc-pat.rs:6:19 |
ff7c6d11 | 50 | | |
0531ce1d | 51 | LL | (u8, u8)::AssocItem => {} |
532ac7d7 | 52 | | ^^^^^^^^^ associated item not found in `(u8, u8)` |
ff7c6d11 XL |
53 | |
54 | error[E0599]: no associated item named `AssocItem` found for type `_` in the current scope | |
0731742a | 55 | --> $DIR/bad-assoc-pat.rs:9:12 |
ff7c6d11 | 56 | | |
0531ce1d | 57 | LL | _::AssocItem => {} |
532ac7d7 | 58 | | ^^^^^^^^^ associated item not found in `_` |
ff7c6d11 | 59 | |
dfeec247 | 60 | error[E0599]: no associated item named `AssocItem` found for tuple `(u8,)` in the current scope |
0731742a | 61 | --> $DIR/bad-assoc-pat.rs:14:17 |
ff7c6d11 | 62 | | |
0531ce1d | 63 | LL | &(u8,)::AssocItem => {} |
532ac7d7 XL |
64 | | ^^^^^^^^^ associated item not found in `(u8,)` |
65 | ||
66 | error[E0599]: no associated item named `AssocItem` found for type `u8` in the current scope | |
67 | --> $DIR/bad-assoc-pat.rs:21:24 | |
68 | | | |
69 | LL | ($ty: ty) => ($ty::AssocItem) | |
70 | | ^^^^^^^^^ associated item not found in `u8` | |
71 | ... | |
72 | LL | pat!(u8) => {} | |
73 | | -------- in this macro invocation | |
74b04a01 XL |
74 | | |
75 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
532ac7d7 XL |
76 | |
77 | error[E0599]: no associated item named `AssocItem` found for type `u8` in the current scope | |
78 | --> $DIR/bad-assoc-pat.rs:32:16 | |
79 | | | |
80 | LL | ty!()::AssocItem => {} | |
81 | | ^^^^^^^^^ associated item not found in `u8` | |
ff7c6d11 | 82 | |
532ac7d7 | 83 | error: aborting due to 12 previous errors |
ff7c6d11 | 84 | |
0531ce1d | 85 | For more information about this error, try `rustc --explain E0599`. |