Skip to content
New issue

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

Wrong completion results for tuple field access #13271

Closed
cynecx opened this issue Sep 21, 2022 · 1 comment
Closed

Wrong completion results for tuple field access #13271

cynecx opened this issue Sep 21, 2022 · 1 comment

Comments

@cynecx
Copy link
Contributor

cynecx commented Sep 21, 2022

rust-analyzer version: 5b49745 (current master)
rustc version: rustc 1.65.0-nightly (c0941dfb5 2022-08-21)

fn test() {
    let a = |event: (String, usize)| event.1.<|>; // should show methods of `usize`, instead methods for `String` are shown.
}
@jhgg
Copy link
Contributor

jhgg commented Sep 22, 2022

This is probably #1109

@Veykril Veykril closed this as completed Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants