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
Privacy report expressions #1255
Conversation
Sorry for the really large commit! It didn't make too much sense to split it as the changes are extremely similar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
void | ||
PrivacyReporter::visit (HIR::TypePathSegmentFunction &segment) | ||
{} | ||
{ | ||
// FIXME: Do we need to do anything for this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We haven't done anything for these yet in general i always have to lookup the rust reference to remember what they are.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmh interesting. I'll look into it when figuring out the last bits of type privacy reporting
bors r+ |
Build succeeded: |
This adds privacy reporting to all expression types inside our HIR. It also restricts the
PrivacyReporter
visitor toHIR::Expression
s andHIR::Stmt
s as a lot of the previous types did not need to be visited.