-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE with generic types used in unboxed closures parameters #18245
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
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
This is the same as #16791 |
Thanks @bkoropoff! |
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Oct 17, 2024
…Veykril lsp: fix completion_item something_to_resolve not being a latch to true while looking at rust-lang#18245 i noticed that `something_to_resolve` could technically flap between true -> false if some subsequent fields that were requested to be resolved were empty. this fixes that by using `|=` instead of `=` when assigning to `something_to_resolve` which will prevent it from going back to false once set. although some cases it's simply assigning to `true` i opted to continue to use `|=` there for uniformity sake. but happy to change those back to `=`'s. cc `@SomeoneToIgnore`
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Oct 17, 2024
fix: include description in label details when detail field is marked for … Fixes rust-lang/rust-analyzer#18231. When omitting the autocomplete detail field, the autocomplete label details can still be returned. Currently the label details are missing the description field if the detail field is included in resolveSupport since it is being overwritten as None and opted to be sent with `completionItem/resolve`. Example completion capabilities. ``` completion = { completionItem = { commitCharactersSupport = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, insertTextModeSupport = { valueSet = { 1, 2 } }, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits", "sortText", "filterText", "insertText", "textEdit", "insertTextFormat", "insertTextMode" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } } ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This program:
Generates the following compiler error:
The compiler used is rustc 0.13.0-nightly (3d2cf60 2014-10-22 00:22:04 +0000) (window x64).
The text was updated successfully, but these errors were encountered: