Closed uzytkownik closed 1 month ago
The fact that order matters here means we probably won't support this since it's not compatible with our hotreloading engine.
The snippet you posted does compile though I imagine there are snippets that don't, and in those cases, we should be better at extending lifetimes.
This might be a desugaring issue with for and if statements.
If you have a specific snippet that's not working, please make an issue and we can try and get that fixed!
Feature Request
Due to nature of Rust lifetimes there are places where
let x = foo.y()
are useful. For example recently in my code:It leaves two options:
let
s to beforersx!
which makes it far from actual place of useIt would be nice if this can be changed to:
Implement Suggestion
can be lowered to: