fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: missing angle brackets in associated item path 2 --> $DIR/bad-assoc-pat.rs:3:9 3 | 4LL | [u8]::AssocItem => {} 5 | ^^^^^^^^^^^^^^^ help: try: `<[u8]>::AssocItem` 6 7error: missing angle brackets in associated item path 8 --> $DIR/bad-assoc-pat.rs:6:9 9 | 10LL | (u8, u8)::AssocItem => {} 11 | ^^^^^^^^^^^^^^^^^^^ help: try: `<(u8, u8)>::AssocItem` 12 13error: missing angle brackets in associated item path 14 --> $DIR/bad-assoc-pat.rs:9:9 15 | 16LL | _::AssocItem => {} 17 | ^^^^^^^^^^^^ help: try: `<_>::AssocItem` 18 19error: missing angle brackets in associated item path 20 --> $DIR/bad-assoc-pat.rs:14:10 21 | 22LL | &(u8,)::AssocItem => {} 23 | ^^^^^^^^^^^^^^^^ help: try: `<(u8,)>::AssocItem` 24 25error: missing angle brackets in associated item path 26 --> $DIR/bad-assoc-pat.rs:32:9 27 | 28LL | ty!()::AssocItem => {} 29 | ^^^^^^^^^^^^^^^^ help: try: `<ty!()>::AssocItem` 30 31error: missing angle brackets in associated item path 32 --> $DIR/bad-assoc-pat.rs:21:19 33 | 34LL | ($ty: ty) => ($ty::AssocItem) 35 | ^^^^^^^^^^^^^^ help: try: `<$ty>::AssocItem` 36... 37LL | pat!(u8) => {} 38 | -------- in this macro invocation 39 40error[E0599]: no associated item named `AssocItem` found for type `[u8]` in the current scope 41 --> $DIR/bad-assoc-pat.rs:3:15 42 | 43LL | [u8]::AssocItem => {} 44 | ^^^^^^^^^ associated item not found in `[u8]` 45 46error[E0599]: no associated item named `AssocItem` found for type `(u8, u8)` in the current scope 47 --> $DIR/bad-assoc-pat.rs:6:19 48 | 49LL | (u8, u8)::AssocItem => {} 50 | ^^^^^^^^^ associated item not found in `(u8, u8)` 51 52error[E0599]: no associated item named `AssocItem` found for type `_` in the current scope 53 --> $DIR/bad-assoc-pat.rs:9:12 54 | 55LL | _::AssocItem => {} 56 | ^^^^^^^^^ associated item not found in `_` 57 58error[E0599]: no associated item named `AssocItem` found for type `(u8,)` in the current scope 59 --> $DIR/bad-assoc-pat.rs:14:17 60 | 61LL | &(u8,)::AssocItem => {} 62 | ^^^^^^^^^ associated item not found in `(u8,)` 63 64error[E0599]: no associated item named `AssocItem` found for type `u8` in the current scope 65 --> $DIR/bad-assoc-pat.rs:21:24 66 | 67LL | ($ty: ty) => ($ty::AssocItem) 68 | ^^^^^^^^^ associated item not found in `u8` 69... 70LL | pat!(u8) => {} 71 | -------- in this macro invocation 72 73error[E0599]: no associated item named `AssocItem` found for type `u8` in the current scope 74 --> $DIR/bad-assoc-pat.rs:32:16 75 | 76LL | ty!()::AssocItem => {} 77 | ^^^^^^^^^ associated item not found in `u8` 78 79error: aborting due to 12 previous errors 80 81For more information about this error, try `rustc --explain E0599`.