fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: missing angle brackets in associated item path 2 --> $DIR/bad-assoc-pat.rs:3:9 3 | 4LL | [u8]::AssocItem => {} 5 | ^^^^ 6 | 7help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths 8 | 9LL | <[u8]>::AssocItem => {} 10 | + + 11 12error: missing angle brackets in associated item path 13 --> $DIR/bad-assoc-pat.rs:6:9 14 | 15LL | (u8, u8)::AssocItem => {} 16 | ^^^^^^^^ 17 | 18help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths 19 | 20LL | <(u8, u8)>::AssocItem => {} 21 | + + 22 23error: missing angle brackets in associated item path 24 --> $DIR/bad-assoc-pat.rs:9:9 25 | 26LL | _::AssocItem => {} 27 | ^ 28 | 29help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths 30 | 31LL | <_>::AssocItem => {} 32 | + + 33 34error: missing angle brackets in associated item path 35 --> $DIR/bad-assoc-pat.rs:14:10 36 | 37LL | &(u8,)::AssocItem => {} 38 | ^^^^^ 39 | 40help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths 41 | 42LL | &<(u8,)>::AssocItem => {} 43 | + + 44 45error: missing angle brackets in associated item path 46 --> $DIR/bad-assoc-pat.rs:32:9 47 | 48LL | ty!()::AssocItem => {} 49 | ^^^^^ 50 | 51help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths 52 | 53LL | <ty!()>::AssocItem => {} 54 | + + 55 56error: missing angle brackets in associated item path 57 --> $DIR/bad-assoc-pat.rs:21:19 58 | 59LL | ($ty: ty) => ($ty::AssocItem) 60 | ^^^ 61... 62LL | pat!(u8) => {} 63 | -------- in this macro invocation 64 | 65 = note: this error originates in the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info) 66help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths 67 | 68LL | ($ty: ty) => (<$ty>::AssocItem) 69 | + + 70 71error[E0599]: no associated item named `AssocItem` found for slice `[u8]` in the current scope 72 --> $DIR/bad-assoc-pat.rs:3:15 73 | 74LL | [u8]::AssocItem => {} 75 | ^^^^^^^^^ associated item not found in `[u8]` 76 77error[E0599]: no associated item named `AssocItem` found for tuple `(u8, u8)` in the current scope 78 --> $DIR/bad-assoc-pat.rs:6:19 79 | 80LL | (u8, u8)::AssocItem => {} 81 | ^^^^^^^^^ associated item not found in `(u8, u8)` 82 83error[E0599]: no associated item named `AssocItem` found for type `_` in the current scope 84 --> $DIR/bad-assoc-pat.rs:9:12 85 | 86LL | _::AssocItem => {} 87 | ^^^^^^^^^ associated item not found in `_` 88 89error[E0599]: no associated item named `AssocItem` found for tuple `(u8,)` in the current scope 90 --> $DIR/bad-assoc-pat.rs:14:17 91 | 92LL | &(u8,)::AssocItem => {} 93 | ^^^^^^^^^ associated item not found in `(u8,)` 94 95error[E0599]: no associated item named `AssocItem` found for type `u8` in the current scope 96 --> $DIR/bad-assoc-pat.rs:21:24 97 | 98LL | ($ty: ty) => ($ty::AssocItem) 99 | ^^^^^^^^^ associated item not found in `u8` 100... 101LL | pat!(u8) => {} 102 | -------- in this macro invocation 103 | 104 = note: this error originates in the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info) 105 106error[E0599]: no associated item named `AssocItem` found for type `u8` in the current scope 107 --> $DIR/bad-assoc-pat.rs:32:16 108 | 109LL | ty!()::AssocItem => {} 110 | ^^^^^^^^^ associated item not found in `u8` 111 112error: aborting due to 12 previous errors 113 114For more information about this error, try `rustc --explain E0599`.