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
Any use of itertools::izip! with 3 or more arguments displays incorrect type for 3rd (and more) element (eg. here it display i32 instead of &str). The incorrectly displayed type is the one of argument 2 (here i32).
Minimal example:
let _e = itertools::izip!(vec![0.1], vec![1], vec![""]).collect::<Vec<_>>();
I can still use the result of izip with the correct types and everything runs correctly so I guess the issue is on how rust-analyzer generates the types of macros and not on itertools / rustc 's side.
The text was updated successfully, but these errors were encountered:
rust-analyzer version: 0.3.1266-standalone
rustc version: rustc 1.64.0 (a55dd71d5 2022-09-19)
Any use of
itertools::izip!
with 3 or more arguments displays incorrect type for 3rd (and more) element (eg. here it displayi32
instead of&str
). The incorrectly displayed type is the one of argument 2 (herei32
).Minimal example:
I can still use the result of
izip
with the correct types and everything runs correctly so I guess the issue is on how rust-analyzer generates the types of macros and not onitertools
/rustc
's side.The text was updated successfully, but these errors were encountered: