mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
84f55cc8d5
Introduces `Missing<Field>` and `Init<Field>` states, that are used in place of builder generics, and make this possible.
11 lines
594 B
Plaintext
11 lines
594 B
Plaintext
error[E0599]: no method named `sub0` found for struct `OverseerBuilder<Missing<_>, Init<AwesomeSubSys>, Missing<f64>>` in the current scope
|
|
--> tests/ui/err-08-duplicate-subsystem.rs:57:4
|
|
|
|
|
22 | #[overlord(signal=SigSigSig, error=OverseerError, event=Event, gen=AllMessages)]
|
|
| -------------------------------------------------------------------------------- method `sub0` not found for this
|
|
...
|
|
57 | .sub0(AwesomeSubSys::default()) // Duplicate subsystem
|
|
| ^^^^-------------------------- help: remove the arguments
|
|
| |
|
|
| field, not a method
|