We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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: rustc 1.80.0 (051478957 2024-07-21)
rustc version: rust-analyzer 1.80.0 (05147895 2024-07-21)
editor or extension: Vim 9.1 coc-rust-analyzer
code snippet to reproduce:
type Result<T> = std::result::Result<T, ()>; fn foo() -> Result<'static, ()> { Ok(()) } fn main() { }
use quick fix:
type Result<T> = std::result::Result<T, ()>; fn foo() -> Result<, ()> { Ok(()) } fn main() { }
expect:
type Result<T> = std::result::Result<T, ()>; fn foo() -> Result<()> { Ok(()) } fn main() { }
The text was updated successfully, but these errors were encountered:
That quickfix comes from rustc, so its a compiler bug that its proposed change does not include the , in the removal
rustc
,
Sorry, something went wrong.
Should I forward this issue to rustc?
Yes that would be good
No branches or pull requests
rust-analyzer version: rustc 1.80.0 (051478957 2024-07-21)
rustc version: rust-analyzer 1.80.0 (05147895 2024-07-21)
editor or extension: Vim 9.1 coc-rust-analyzer
code snippet to reproduce:
use quick fix:
expect:
The text was updated successfully, but these errors were encountered: