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

Support associated type defaults #13693

Open
Veykril opened this issue Nov 29, 2022 · 1 comment
Open

Support associated type defaults #13693

Veykril opened this issue Nov 29, 2022 · 1 comment
Labels
A-rustc issues regarding the rustc codebase and rustc private crates A-ty type system / type inference / traits / method resolution B-unstable unstable feature C-feature Category: feature request

Comments

@Veykril
Copy link
Member

Veykril commented Nov 29, 2022

We currently fail to fallback to them if the impl misses them which causes problems with rust-lang/rust's query system. cc https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/rustc.20query.20types.20are.20not.20normalized.20since.20recently

@Veykril Veykril added A-ty type system / type inference / traits / method resolution A-rustc issues regarding the rustc codebase and rustc private crates B-unstable unstable feature labels Nov 29, 2022
@WaffleLapkin
Copy link
Member

FYI: we've removed the use of associated type defaults from the compiler query engine in rust-lang/rust#105493, as a temporary fix. It would still be great if r-a could just™ support associated type defaults though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustc issues regarding the rustc codebase and rustc private crates A-ty type system / type inference / traits / method resolution B-unstable unstable feature C-feature Category: feature request
Projects
None yet
Development

No branches or pull requests

2 participants