Skip to content

Implement "useing a function from a trait" #19744

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

Closed
Veykril opened this issue May 5, 2025 · 4 comments
Closed

Implement "useing a function from a trait" #19744

Veykril opened this issue May 5, 2025 · 4 comments
Assignees
Labels
A-nameres name, path and module resolution B-unstable unstable feature C-feature Category: feature request

Comments

@Veykril
Copy link
Member

Veykril commented May 5, 2025

Implement rust-lang/rust#134691

@Veykril Veykril added A-nameres name, path and module resolution B-unstable unstable feature C-feature Category: feature request labels May 5, 2025
@mhatzl
Copy link

mhatzl commented May 5, 2025

@rustbot claim

@Veykril
Copy link
Member Author

Veykril commented May 5, 2025

Discussed this with @mhatzl, for no we will try going with an imperformant solution that just skips the trait_items query if it would cycle as the easy way out. We will likely have to inline trait assoc item collection into def map computation unfortunately to make this work nicely though in the long run.

@ChayimFriedman2
Copy link
Contributor

Turns out we already have an issue for that 🙂

@Veykril
Copy link
Member Author

Veykril commented May 6, 2025

Ah I was looking for that one but couldn't find it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-nameres name, path and module resolution B-unstable unstable feature C-feature Category: feature request
Projects
None yet
Development

No branches or pull requests

3 participants