Lazy @rustlang Twitter: can you send me snippets of code where you *needed* higher kinded lifetimes?
I wish to identify as many cases as possible to categorize them and make rustc understand them and guide you in their direction.
-
-
We almost needed them the other day at work, I think it's somewhere in our backlog if you didn't see it
-
I'll take a look at it. I know we have it in a few places, but part of what I need is the step before they were added to see when we can suggest them.
Kraj razgovora
Novi razgovor -
-
-
Do cases where I ended up not being able to do the thing I need because projection through HRTB is broken count?
-
That is as important as valid cases, if not more so. Avoiding misleading suggestions is necessary.
- Još 5 drugih odgovora
Novi razgovor -
-
-
I was prototyping https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=4dd258100776133a07ed2c20abf5173f … and tried to make multiple FooSyntaxForm traits generic over input+output, while preserving lifetimes. At the same time I only know which forms to put into the map at runtime, but need to be used for stuff that may not be in memory yet.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
Prikaži još odgovora, uključujući one koji mogu sadržavati uvredljiv sadržaj
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.