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

"Go to definition" not working for some types #14744

Closed
zhiqiangxu opened this issue May 5, 2023 · 1 comment
Closed

"Go to definition" not working for some types #14744

zhiqiangxu opened this issue May 5, 2023 · 1 comment
Labels
A-ty type system / type inference / traits / method resolution C-bug Category: bug

Comments

@zhiqiangxu
Copy link

zhiqiangxu commented May 5, 2023

The "Go to definition" function doesn't work for the cmp here, saying "No definition found for 'cmp'".

rust-analyzer version: 0.3.1498-standalone (3a27518 2023-04-30)
rustc version: rustc 1.60.0 (7737e0b5c 2022-04-04)

@zhiqiangxu zhiqiangxu added the C-bug Category: bug label May 5, 2023
@Veykril Veykril added the A-ty type system / type inference / traits / method resolution label May 5, 2023
@lowr
Copy link
Contributor

lowr commented May 5, 2023

This is a duplicate of #5514; we are having trouble identifying the type of self.column_type.into() when self.column_type is bound by Into<Any>. Closing as a duplicate, thanks for the report though!

@lowr lowr closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ty type system / type inference / traits / method resolution C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

3 participants