We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cargo new repro
edition = "2021"
Cargo.toml
main.rs
fn main() { let _: bool = TryFrom::try_from(true).unwrap(); let _: bool = true.try_into().unwrap(); }
TryFrom::try_from
try_into
rust-analyzer version: rust-analyzer version: 0.3.1203-standalone rustc version: rustc 1.63.0 (4b91a6ea7 2022-08-08)
rust-analyzer version: 0.3.1203-standalone
rustc 1.63.0 (4b91a6ea7 2022-08-08)
The text was updated successfully, but these errors were encountered:
Fixed in #13235 or another recent PR:
Sorry, something went wrong.
Sorry, that was probably #13147.
No branches or pull requests
Reproduction
cargo new repro
, assuming cargo setsedition = "2021"
inCargo.toml
.main.rs
: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)
The text was updated successfully, but these errors were encountered: