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
trait Foo { const C: i32 = 42; fn missing(); } struct Bar; impl Foo for Bar { }
The assist generates the following:
impl Foo for Bar { const C: i32 = 42; // Unnecessary, there is already a default fn missing() { todo!() } }
rust-analyzer version: rust-analyzer version: 0.3.1212-standalone
rustc version: rustc 1.66.0-nightly (4a1467723 2022-09-23)
The text was updated successfully, but these errors were encountered:
item_const
8050fdb
Successfully merging a pull request may close this issue.
The assist generates the following:
rust-analyzer version: rust-analyzer version: 0.3.1212-standalone
rustc version: rustc 1.66.0-nightly (4a1467723 2022-09-23)
The text was updated successfully, but these errors were encountered: