You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a simplified test case, showing that we can't do a single-element subparse()
#[derive(Ingot)]pubstructPacket{pubbla:u8,#[ingot(subparse())]pubnext_packet:InnerPacket,// works with `Repeated<InnerPacket>`}#[derive(Clone,Ingot)]pubstructInnerPacket{pubbaaaa:u8,}
It fails with a cryptic message:
error[E0282]: type annotations needed
--> src/lib.rs:76:10
|
76 | #[derive(Ingot)]
| ^^^^^ cannot infer type
|
= note: this error originates in the derive macro `Ingot` (in Nightly builds, run with -Z macro-backtrace for more info)
The text was updated successfully, but these errors were encountered:
This is a simplified test case, showing that we can't do a single-element
subparse()
It fails with a cryptic message:
The text was updated successfully, but these errors were encountered: