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
Refactor away TraitRef::trait_def_id
#60465
Comments
Hello! I tried to look at that issue but it looks like its already fixed? |
The code was moved to Lines 2206 to 2212 in 34f7f55
We recently split the |
In this code, the call to |
|
I've started working on this. So far, I don't understand why some of the downstream code can |
@bugadani without knowing the specifics, the answer to that is usually just historical baggage: the compiler for a long time just relied on |
The function
rust/src/librustc/hir/mod.rs
Lines 2150 to 2155 in 9b67bd4
can abort compilation in case of errors. We're trying to eliminate as many (if not all) early aborts, so this needs to go. I haven't looked into how to fix this yet at all.
Originally reported in https://github.com/rust-lang/rust/pull/60462/files#r280262620
cc @estebank
The text was updated successfully, but these errors were encountered: