Closed
Description
Reproduction
- Run
cargo new repro
, assuming cargo setsedition = "2021"
inCargo.toml
. - Put this code into
main.rs
:fn main() { let _: bool = TryFrom::try_from(true).unwrap(); let _: bool = true.try_into().unwrap(); }
- Hover over
TryFrom::try_from
andtry_into
symbols and observe them as unresolved according to rust-analyzer:
rust-analyzer version: rust-analyzer version: 0.3.1203-standalone
rustc version: rustc 1.63.0 (4b91a6ea7 2022-08-08)
Metadata
Metadata
Assignees
Labels
No labels