-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
refactor: Use identifier in format #1689
Conversation
|
This will have potentially annoying conflicts with #1684 |
806b56f
to
821a0ec
Compare
Do IDEs support this? Having a hard time finding e.g. rust-analyzer issues or triggering support myself. |
That would depend on the editor, potential plugins and what you mean by support. I'm fine with the current level of support.
There's an open issue for RA to resolved captured identifiers. |
|
This feature was stabilized in 1.58: use it everywhere. <https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html#captured-identifiers-in-format-strings>
10371d2
to
a27c39c
Compare
This is great for the codebase, but the lack of RA support is unfortunate. I am leaning towards merging it now anyway, since it's better to start using the new convention earlier. |
This feature was stabilized in 1.58: use it everywhere.
https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html#captured-identifiers-in-format-strings