We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
itertools::izip!
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
rust-analyzer version: 0.3.1277-standalone (d03c1c8 2022-11-05) rustc version: rustc 1.65.0 (897e37553 2022-11-02)
Below is a code snippet that reproduces the issue:
use itertools::izip; fn main() { let nums1 = vec![0f64]; let nums2 = vec![0f64]; let bools = vec![false]; let _x = izip!(nums1.iter(), nums2.iter(), bools.iter(),).fold(0f64, |res, (num_1, num_2, boolean)| res); }
The above code is processed by RA, but the type inlay hint provided for boolean is incorrect:
boolean
It is deduced as &f64 whereas it should be deduced as &bool
&f64
&bool
The text was updated successfully, but these errors were encountered:
Duplicate of #11681.
Sorry, something went wrong.
@lnicola thanks! Sorry for spamming
No branches or pull requests
rust-analyzer version: 0.3.1277-standalone (d03c1c8 2022-11-05)
rustc version: rustc 1.65.0 (897e37553 2022-11-02)
Below is a code snippet that reproduces the issue:
The above code is processed by RA, but the type inlay hint provided for

boolean
is incorrect:It is deduced as
&f64
whereas it should be deduced as&bool
The text was updated successfully, but these errors were encountered: