-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
librustc: Get rid of structural records save for front/test.rs. #5030
Conversation
This seems to cause a test to segfault: GDB Output:
Possibly related to the reason why there were two definitions of MethodInfo/Impl in metadata::decoder and middle::resolve. (@TJC ?) But I can't mimic the old setup since it only worked because the two definitions were essentially the same but now it'll complain since they'll be two different structs. |
note: @catamorphism instead of poor tjc. |
@luqmana I'll try to figure out where the segfault is coming from. I don't think this is related to the reason why there were two definitions, but I'll try to reproduce it locally and see. |
@luqmana I wasn't able to reproduce the segfault, fyi. I'll rebase this for you as a courtesy since you did such an incredible job :-) and re-push it for testing. |
Investigating. |
Superseded by #5066 - thanks again! |
Split up `missing-doc` ui test Part of rust-lang#2038 changelog: none
Didn't de-record-ize
front::test
since it meant some changes in libsyntax and when I first attempted it I got LLVM asserts. I shall address it in a subsequent commit hopefully if it turns out not to be a big issue.Also, removed the duplicate definitions for MethodInfo and Impl in
metadata::decoder
. So there's now only the definition inmiddle::resolve
.