-
Notifications
You must be signed in to change notification settings - Fork 0
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
Missing references to fields #26
Comments
All the missing references are either in |
Thanks, that makes sense. Trying Rust DXR demo, I could imagine it would be useful. On the other hand, missing all codes inside |
Its a problem with the Rust compiler, rather than DXR. The fix is to move expansion of for loops and similar things out of libsyntax into rustc. That is harder than it sounds, unfortunately. It is on my radar for the next quarter though. Alternatively, it could be fixed by being able to handle expanded code, we'll need this for macros anyway. This should be possible by modifying src/librustc_trans/save/dump_csv.rs to not skip generated code and to use the right part of the expansion stack (rather than the top span). This is also a pretty big change, but would be super useful. If you want to give this a go, I'd have a poke around that code to familiarise yourself, then ping me on irc and we can make a plan. |
https://dxr.allizom.org/rust/search?q=+var-ref:rustc::middle::dataflow::DataFlowContext::gens seems to miss many references which can be found by searching
self.gens
indataflow.rs
.The text was updated successfully, but these errors were encountered: