-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive calls of a local function are not resolved #4438
Comments
Maybe I'm wrong but as far as I know for now in rust-analyzer declaring |
I thought so, but apparently it's better supported now than it used to be. Notice that the function is resolved properly in the first screenshot. |
Yes -- Rust analyzer now supports local functions in some manner! I actually think it used to support this thing, but not positive.... |
Blocked on #1559. |
@lnicola This should be actionable now. |
This is fixed, I've added a test in #8076 |
thank you all! |
Hello!
The following is working as intended:
But when we try to call the function inside itself:
We do not get the appropriate autocomplete option.
Not uber essential, but just wanted to put the issue up so it's known
The text was updated successfully, but these errors were encountered: