Skip to content
New issue

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

Quickfix for elided_lifetimes_in_paths warning #17201

Open
IndianBoy42 opened this issue May 8, 2024 · 0 comments
Open

Quickfix for elided_lifetimes_in_paths warning #17201

IndianBoy42 opened this issue May 8, 2024 · 0 comments
Labels
C-feature Category: feature request

Comments

@IndianBoy42
Copy link

1. hidden lifetime parameters in types are deprecated
   `#[warn(elided_lifetimes_in_paths)]` implied by `#[warn(rust_2018_idioms)]` [elided_lifetimes_in_paths]
2. indicate the anonymous lifetime: `<'_>` [elided_lifetimes_in_paths]

I see the hint as part of the diagnostics but there is no code action to automatically add that. I also have a keybinding defined to instantly apply a code action with the quickfix kind according to the lsp protocol so it would be best if this assist was a quickfix.

@IndianBoy42 IndianBoy42 added the C-feature Category: feature request label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: feature request
Projects
None yet
Development

No branches or pull requests

1 participant