We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
generate_new
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
rust-analyzer version: rust-analyzer 1.86.0 (05f9846 2025-03-31)
rustc version: rustc 1.86.0 (05f9846f8 2025-03-31)
code snippet to reproduce:
mod foo { struct $0Foo {} }
->
mod foo { struct Foo {} impl Foo { fn new() -> Self { Self { } } } }
Expect:
Similar to:
mod foo { struct $0Foo {} impl Foo { fn some() {} } }
mod foo { struct Foo {} impl Foo { fn new() -> Self { Self { } } fn some() {} } }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
rust-analyzer version: rust-analyzer 1.86.0 (05f9846 2025-03-31)
rustc version: rustc 1.86.0 (05f9846f8 2025-03-31)
code snippet to reproduce:
->
Expect:
Similar to:
->
Expect:
The text was updated successfully, but these errors were encountered: