You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new inline variable references for println!() and format!() do not appear to show up as symbols in vscode, so when you right click on the variable name elsewhere and click 'rename symbol', it doesn't rename it inside of the println line. For example:
let hello_world = "Hello World";println!("{hello_world}");
Renaming hello_world to hello ends up like this:
let hello = "Hello World";println!("{hello_world}");
Where it should end up like this:
let hello = "Hello World";println!("{hello}");
rust-analyzer version: (eg. output of "Rust Analyzer: Show RA Version" command)
rust-analyzer version: 02904e9 2022-02-14 stable
The new inline variable references for println!() and format!() do not appear to show up as symbols in vscode, so when you right click on the variable name elsewhere and click 'rename symbol', it doesn't rename it inside of the println line. For example:
Renaming hello_world to hello ends up like this:
Where it should end up like this:
rust-analyzer version: (eg. output of "Rust Analyzer: Show RA Version" command)
rust-analyzer version: 02904e9 2022-02-14 stable
rustc version: (eg. output of
rustc -V
)rustc 1.58.1 (db9d1b20b 2022-01-20)
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTUP_HOME
orCARGO_HOME
)N/A
The text was updated successfully, but these errors were encountered: