2017-12-16 22:53:11 +00:00
|
|
|
error: missing angle brackets in associated item path
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/bad-assoc-pat.rs:3:9
|
2017-12-16 22:53:11 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | [u8]::AssocItem => {}
|
2023-09-28 00:37:20 +00:00
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths
|
|
|
|
|
|
|
|
|
LL | <[u8]>::AssocItem => {}
|
|
|
|
| + +
|
2017-12-16 22:53:11 +00:00
|
|
|
|
|
|
|
error: missing angle brackets in associated item path
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/bad-assoc-pat.rs:6:9
|
2017-12-16 22:53:11 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | (u8, u8)::AssocItem => {}
|
2023-09-28 00:37:20 +00:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths
|
|
|
|
|
|
|
|
|
LL | <(u8, u8)>::AssocItem => {}
|
|
|
|
| + +
|
2017-12-16 22:53:11 +00:00
|
|
|
|
|
|
|
error: missing angle brackets in associated item path
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/bad-assoc-pat.rs:9:9
|
2017-12-16 22:53:11 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | _::AssocItem => {}
|
2023-09-28 00:37:20 +00:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths
|
|
|
|
|
|
|
|
|
LL | <_>::AssocItem => {}
|
|
|
|
| + +
|
2017-12-16 22:53:11 +00:00
|
|
|
|
2017-12-18 20:42:58 +00:00
|
|
|
error: missing angle brackets in associated item path
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/bad-assoc-pat.rs:14:10
|
2017-12-18 20:42:58 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | &(u8,)::AssocItem => {}
|
2023-09-28 00:37:20 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths
|
|
|
|
|
|
|
|
|
LL | &<(u8,)>::AssocItem => {}
|
|
|
|
| + +
|
2017-12-18 20:42:58 +00:00
|
|
|
|
2019-03-09 14:41:01 +00:00
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-pat.rs:32:9
|
|
|
|
|
|
|
|
|
LL | ty!()::AssocItem => {}
|
2023-09-28 00:37:20 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths
|
|
|
|
|
|
|
|
|
LL | <ty!()>::AssocItem => {}
|
|
|
|
| + +
|
2019-03-09 14:41:01 +00:00
|
|
|
|
|
|
|
error: missing angle brackets in associated item path
|
|
|
|
--> $DIR/bad-assoc-pat.rs:21:19
|
|
|
|
|
|
|
|
|
LL | ($ty: ty) => ($ty::AssocItem)
|
2023-09-28 00:37:20 +00:00
|
|
|
| ^^^
|
2019-03-09 14:41:01 +00:00
|
|
|
...
|
|
|
|
LL | pat!(u8) => {}
|
|
|
|
| -------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2023-09-28 00:37:20 +00:00
|
|
|
help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths
|
|
|
|
|
|
|
|
|
LL | ($ty: ty) => (<$ty>::AssocItem)
|
|
|
|
| + +
|
2019-03-09 14:41:01 +00:00
|
|
|
|
2020-01-08 16:05:31 +00:00
|
|
|
error[E0599]: no associated item named `AssocItem` found for slice `[u8]` in the current scope
|
2018-12-07 18:15:36 +00:00
|
|
|
--> $DIR/bad-assoc-pat.rs:3:15
|
2017-12-16 22:53:11 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | [u8]::AssocItem => {}
|
2019-03-10 23:20:15 +00:00
|
|
|
| ^^^^^^^^^ associated item not found in `[u8]`
|
2017-12-16 22:53:11 +00:00
|
|
|
|
2020-01-08 16:05:31 +00:00
|
|
|
error[E0599]: no associated item named `AssocItem` found for tuple `(u8, u8)` in the current scope
|
2018-12-07 18:15:36 +00:00
|
|
|
--> $DIR/bad-assoc-pat.rs:6:19
|
2017-12-16 22:53:11 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | (u8, u8)::AssocItem => {}
|
2019-03-10 23:20:15 +00:00
|
|
|
| ^^^^^^^^^ associated item not found in `(u8, u8)`
|
2017-12-16 22:53:11 +00:00
|
|
|
|
|
|
|
error[E0599]: no associated item named `AssocItem` found for type `_` in the current scope
|
2018-12-07 18:15:36 +00:00
|
|
|
--> $DIR/bad-assoc-pat.rs:9:12
|
2017-12-16 22:53:11 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | _::AssocItem => {}
|
2019-03-10 23:20:15 +00:00
|
|
|
| ^^^^^^^^^ associated item not found in `_`
|
2017-12-16 22:53:11 +00:00
|
|
|
|
2020-01-08 16:05:31 +00:00
|
|
|
error[E0599]: no associated item named `AssocItem` found for tuple `(u8,)` in the current scope
|
2018-12-07 18:15:36 +00:00
|
|
|
--> $DIR/bad-assoc-pat.rs:14:17
|
2017-12-18 20:42:58 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | &(u8,)::AssocItem => {}
|
2019-03-10 23:20:15 +00:00
|
|
|
| ^^^^^^^^^ associated item not found in `(u8,)`
|
2017-12-18 20:42:58 +00:00
|
|
|
|
2019-03-09 14:41:01 +00:00
|
|
|
error[E0599]: no associated item named `AssocItem` found for type `u8` in the current scope
|
|
|
|
--> $DIR/bad-assoc-pat.rs:21:24
|
|
|
|
|
|
|
|
|
LL | ($ty: ty) => ($ty::AssocItem)
|
2019-03-23 21:10:29 +00:00
|
|
|
| ^^^^^^^^^ associated item not found in `u8`
|
2019-03-09 14:41:01 +00:00
|
|
|
...
|
|
|
|
LL | pat!(u8) => {}
|
|
|
|
| -------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-03-09 14:41:01 +00:00
|
|
|
|
|
|
|
error[E0599]: no associated item named `AssocItem` found for type `u8` in the current scope
|
|
|
|
--> $DIR/bad-assoc-pat.rs:32:16
|
|
|
|
|
|
|
|
|
LL | ty!()::AssocItem => {}
|
2019-03-23 21:10:29 +00:00
|
|
|
| ^^^^^^^^^ associated item not found in `u8`
|
2019-03-09 14:41:01 +00:00
|
|
|
|
|
|
|
error: aborting due to 12 previous errors
|
2017-12-16 22:53:11 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0599`.
|