1 error: missing angle brackets in associated item path
2 --> $DIR/bad-assoc-pat.rs:3:9
4 LL | [u8]::AssocItem => {}
5 | ^^^^^^^^^^^^^^^ help: try: `<[u8]>::AssocItem`
7 error: missing angle brackets in associated item path
8 --> $DIR/bad-assoc-pat.rs:6:9
10 LL | (u8, u8)::AssocItem => {}
11 | ^^^^^^^^^^^^^^^^^^^ help: try: `<(u8, u8)>::AssocItem`
13 error: missing angle brackets in associated item path
14 --> $DIR/bad-assoc-pat.rs:9:9
16 LL | _::AssocItem => {}
17 | ^^^^^^^^^^^^ help: try: `<_>::AssocItem`
19 error: missing angle brackets in associated item path
20 --> $DIR/bad-assoc-pat.rs:14:10
22 LL | &(u8,)::AssocItem => {}
23 | ^^^^^^^^^^^^^^^^ help: try: `<(u8,)>::AssocItem`
25 error: missing angle brackets in associated item path
26 --> $DIR/bad-assoc-pat.rs:32:9
28 LL | ty!()::AssocItem => {}
29 | ^^^^^^^^^^^^^^^^ help: try: `<ty!()>::AssocItem`
31 error: missing angle brackets in associated item path
32 --> $DIR/bad-assoc-pat.rs:21:19
34 LL | ($ty: ty) => ($ty::AssocItem)
35 | ^^^^^^^^^^^^^^ help: try: `<$ty>::AssocItem`
38 | -------- in this macro invocation
40 = note: this error originates in the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info)
42 error[E0599]: no associated item named `AssocItem` found for slice `[u8]` in the current scope
43 --> $DIR/bad-assoc-pat.rs:3:15
45 LL | [u8]::AssocItem => {}
46 | ^^^^^^^^^ associated item not found in `[u8]`
48 error[E0599]: no associated item named `AssocItem` found for tuple `(u8, u8)` in the current scope
49 --> $DIR/bad-assoc-pat.rs:6:19
51 LL | (u8, u8)::AssocItem => {}
52 | ^^^^^^^^^ associated item not found in `(u8, u8)`
54 error[E0599]: no associated item named `AssocItem` found for type `_` in the current scope
55 --> $DIR/bad-assoc-pat.rs:9:12
57 LL | _::AssocItem => {}
58 | ^^^^^^^^^ associated item not found in `_`
60 error[E0599]: no associated item named `AssocItem` found for tuple `(u8,)` in the current scope
61 --> $DIR/bad-assoc-pat.rs:14:17
63 LL | &(u8,)::AssocItem => {}
64 | ^^^^^^^^^ associated item not found in `(u8,)`
66 error[E0599]: no associated item named `AssocItem` found for type `u8` in the current scope
67 --> $DIR/bad-assoc-pat.rs:21:24
69 LL | ($ty: ty) => ($ty::AssocItem)
70 | ^^^^^^^^^ associated item not found in `u8`
73 | -------- in this macro invocation
75 = note: this error originates in the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info)
77 error[E0599]: no associated item named `AssocItem` found for type `u8` in the current scope
78 --> $DIR/bad-assoc-pat.rs:32:16
80 LL | ty!()::AssocItem => {}
81 | ^^^^^^^^^ associated item not found in `u8`
83 error: aborting due to 12 previous errors
85 For more information about this error, try `rustc --explain E0599`.