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
{{ message }}
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
#[derive(Encode, Decode)]
pub struct MyStruct<T>
where T: Clone,
{
pub a: A,
pub b: B<T>,
}
Error: expected one of `{`, lifetime, or type, found `,`
The issue is made worse by the Rust formatter in VS Code insisting that there is a comma after the 'where' declaration. If not, then I could just remove the comma, but it is automatically inserted