-
Notifications
You must be signed in to change notification settings - Fork 1.8k
"implement missing members" assist uses incorrect lifetime name #13363
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
Labels
A-assists
C-bug
Category: bug
S-actionable
Someone could pick this issue up and work on it right now
Comments
I would like to look into this. |
"imlement default members", a closely-related assist, doesn't update neither lifetimes nor const params:
|
bors
added a commit
that referenced
this issue
Jun 10, 2023
…ansform-lifetimes, r=Veykril fix: implemeted lifetime transformation fot assits A part of #13363 I expect to implement transformation of const params in a separate PR Other assists and a completion affected: - `generate_function` currently just ignores lifetimes and, consequently, is not affected - `inline_call` and `replace_derive_with...` don't seem to need lifetime transformation - `trait_impl` (a completion) is fixed and tested
one more related problem - default types are not being transformed, e.g.:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-assists
C-bug
Category: bug
S-actionable
Someone could pick this issue up and work on it right now
rust-analyzer version:
rust-analyzer version: 0.3.1229-standalone (5c28ad193 2022-10-01)
rustc version:
rustc 1.63.0 (4b91a6ea7 2022-08-08)
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTUP_HOME
orCARGO_HOME
)Given the following code:
Using the assist "implement missing members" results in the following:
The text was updated successfully, but these errors were encountered: