You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
relevant settings: Editor used is nvim version v0.10.0-dev-1145+g46402c16c0 (current git head) using current git head of nvim-lspconfig. The command used to trigger the refactor is :lua vim.lsp.buf.code_action() and then selecting “Convert to named struct” while in normal mode with the cursor above the Eof token.
The text was updated successfully, but these errors were encountered:
I have this (somewhat minimised) example:
When using “Convert to named struct” on the
Eof
variant ofError
, this is the result:Changing the code before or after the
Error
enum changes the location of the wrong replacement for theError::Eof(_)
pattern.rust-analyzer version:
(installed from the Arch Linux repos)
rustc version:
(installed via
rustup
)relevant settings: Editor used is nvim version
v0.10.0-dev-1145+g46402c16c0
(current git head) using current git head ofnvim-lspconfig
. The command used to trigger the refactor is:lua vim.lsp.buf.code_action()
and then selecting “Convert to named struct” while in normal mode with the cursor above theEof
token.The text was updated successfully, but these errors were encountered: