-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Nested tuples {unknown} #12675
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Seems we don't consider tuples as implementing |
Seems we don't like these repeats: $( ${ignore(T)} self.${index()} == other.${index()} )&&+ |
cc #11952 |
i think the issue may be about edition. if use 2021, map type is <(i32,i32),i32>. under is unkown. if use before 2021 edition, cloned after into_iter, it’s ok too. May relate to feature array_into_iter_impl. |
I'm pretty sure it's reproducible in 2021 as well, and caused by the above macro (at least). |
yeah, my ra is too old |
i try again. it’s true if change to 2021, it show unkown. but when ra reindex end, add or del some blank line, it changed. |
Are you using the current Rust version? |
rustc 1.61.0 2022 05 18 stable |
I'm using 1.62. This is likely a recent regression. |
rust-analyzer version: rust-analyzer version: 0.0.0 (3410102 2022-06-30) (built locally)
also occurs on https://ra-wasm.netlify.app/
rustc version: rustc 1.64.0-nightly (7425fb293 2022-06-30)
Given the following code:
rust-analyzer reports:

The text was updated successfully, but these errors were encountered: