-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Wrong number of parameters bug #13229
Comments
@danielfath you have defined a function |
Oh, thanks. Well that's a silly mistake. I apologize for the inconvenience. |
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Feb 25, 2024
…t-edit, r=Veykril feat: Support multiple tab stops for completions in VSCode Uses the native VSCode support for `SnippetTextEdit`s. Fixes rust-lang#13229 and fixes rust-lang#8531. https://github.com/rust-lang/rust-analyzer/assets/13354275/a2d2c033-bb30-4f34-92ca-bf3f4f744cdc This is done in a slightly hacky way, as `vscode-languageclient` can't convert RA's `SnippetTextEdit`s into vscode `SnippetTextEdit`s and will appear to use a [different format](https://github.com/microsoft/vscode-languageserver-node/blob/295aaa393fda8ecce110c38880a00466b9320e63/types/src/main.ts#L1501-L1516) in the future. --- ~~Marked as draft since as-is, this will cause completions to double-indent any multi-line code generated.~~ **Update:** This also fixes up edits so that any multi-line code won't be double-indented.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I've been running into weird issues with current Rust nightly.
As of right now I have a branch called bug_hunting, where I have two commits. First commit (
a3cf404
.. of current bug_hunting branch) has a weird error - in which compiler/linker complains that the method has 0 paramteres when it has two. Error can be replicated by runningmake check
in root folder (wheresrc
folder is located) to get following error:Same code, with function renamed to
is_crazy
works ok, as evidenced by commit23cf925
... In the diff the only change I notice is the fact that function was renamed.The text was updated successfully, but these errors were encountered: