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
rustc_typeck: export modules and fields for sub-passes. #25390
Conversation
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
👍, this would really help with rust-clippy. |
@bors r+ rollup |
📌 Commit 65f3067 has been approved by |
This seems like it will make it much harder to refactor |
For the record, I'm absolutely ok with any breakage until it's stabilized. Generally, I feel that if I use unstable APIs, even if publicly available, any breakage that may occur is my problem. Btw. I found a way to implement my lint without requiring method lookup, at the cost of possible false positives, so the method lookup could be considered optional in this case. However, method lookup will still be quite useful for other lints – e.g. for suggesting methods or suppress warnings depending on availability. |
Needed for driving parts of type-checking manually.
@pythonesque no - just because it is public doesn't mean it is stable. Anyone who uses compiler internals should be prepared for breakage at any time. |
Needed for driving parts of type-checking manually.