With the unrelated compiler error removed https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=2b665a6403bd4fa87ea51da5230550d8 …
Certainly better. Now if it can just recommend a suggestion that isn't nonsense ;)
-
-
Working on it. Trying things out but it'll be always a guess, because by the time we have the lifetimes we cannot tie those back to the exact part of the type.
-
You can get quite far with reconstructing it and infer things from context (like suggesting '_ on all dyn/impl traits) but for more complex cases we'll still have something slightly incorrect, I fear. Until we refactor the lifetime analysis to hold on to more type data for errors
- 12 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.