We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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: 0.3.1850-standalone
0.3.1850-standalone
rustc version: rustc 1.75.0 (82e1608df 2023-12-21)
rustc 1.75.0 (82e1608df 2023-12-21)
relevant settings: default settings
This is a regression from 0.3.1850 and 0.3.1839
When in 0.3.1850 (newer), asking RA to implement the missing members for a trait generates extra backslashes:
struct SomeStruct { field: i32, } impl Display for SomeStruct { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result \{ todo!() \} }
When in 0.3.1839 (older), asking RA to implement the same missing member generates the expected code without the extra backslashes:
struct SomeStruct { field: i32, } impl Display for SomeStruct { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { todo!() } }
The text was updated successfully, but these errors were encountered:
fixed in #16618
Sorry, something went wrong.
Duplicate of #16607
No branches or pull requests
rust-analyzer version:
0.3.1850-standalone
rustc version:
rustc 1.75.0 (82e1608df 2023-12-21)
relevant settings: default settings
This is a regression from 0.3.1850 and 0.3.1839
When in 0.3.1850 (newer), asking RA to implement the missing members for a trait generates extra backslashes:
When in 0.3.1839 (older), asking RA to implement the same missing member generates the expected code without the extra backslashes:
The text was updated successfully, but these errors were encountered: