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
[src/main.rs:4] "{}:{}" = "{}:{}"
[src/main.rs:4] A = 10
[src/main.rs:4] B = 66
However when I hover only the A shows me the value:
here B does not:
I would expect B's hover hint to show const B: u8 = 66 (0x42) rather than const B: u8 = 0
rust-analyzer version: (eg. output of "Rust Analyzer: Show RA Version" command)
rust-analyzer version: 5dce1ff 2022-05-02 stable
The following code has two u8 consts
The output is as follows:
However when I hover only the A shows me the value:


here B does not:
I would expect B's hover hint to show
const B: u8 = 66 (0x42)
rather thanconst B: u8 = 0
rust-analyzer version: (eg. output of "Rust Analyzer: Show RA Version" command)
rust-analyzer version: 5dce1ff 2022-05-02 stable
rustc version: (eg. output of
rustc -V
)rustc 1.60.0 (7737e0b5c 2022-04-04)
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTUP_HOME
orCARGO_HOME
)The text was updated successfully, but these errors were encountered: