Ingvar Stepanyan
Ingvar Stepanyan
Actually, I do have one guess - which is the most common source of all issues in Serde - are you using `serde(flatten)` by any chance?
Ah yeah this is an unfortunate side effect of another ancient Serde issue: https://github.com/serde-rs/serde/issues/1183 TL;DR attributes like `serde(tag)` and `serde(flatten)` collect inputs into Serde's internal AST first, and only then...
Maybe we can relax our check somehow to support this particular case (even though it will still break on more complex inputs), need to think.
From upcoming Rust 1.28 release notes: > Attributes on generic parameters such as types and lifetimes are now stable. e.g. `fn foo() {}` I suppose it should make possible for...
Hmm, you're right, I misunderstood what it does. Allowing them on generic params doesn't mean getting attributes for these params from instantiation sites in a generic one.
Sorry, but I gave rights to @punkstarman to maintain this repo a while ago.
Just noticed that docs of DynamicImage::crop says the signature will be replaced in 0.24 release, but looks like that never happened even though 0.24 was released some time ago? Should...
I'll try to get to it, but have a bit much to unwrap locally at the moment.
> async functions could be safely inlined only if the caller is known to be within an async function Yes, that's what I'm demonstrating in output example.
I'm not sure I'll have even few hours in the nearest time unfortunately, but if I do, happy to help.