-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Let the dep-tracking test framework check that all #[rustc_dirty] attrs have been actually checked #39500
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
Conversation
…e been actually checked.
Before r+ing, please wait for travis to finish as I haven't had the time to run a full |
@@ -914,6 +914,7 @@ pub fn walk_decl<'v, V: Visitor<'v>>(visitor: &mut V, declaration: &'v Decl) { | |||
|
|||
pub fn walk_expr<'v, V: Visitor<'v>>(visitor: &mut V, expression: &'v Expr) { | |||
visitor.visit_id(expression.id); | |||
walk_list!(visitor, visit_attribute, expression.attrs.iter()); |
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.
d'oh
}; | ||
intravisit::walk_crate(&mut all_attrs, krate); | ||
|
||
all_attrs.report_unchecked_attrs(&dirty_clean_visitor.checked_attrs); |
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.
can we add a comment explaining why we are not using the other "used attribute" system?
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.
r=me with comment
is not used for #[rustc_dirty]/#[rustc_clean].
@bors r=nikomatsakis (comments added) |
📌 Commit ab3c826 has been approved by |
Let the dep-tracking test framework check that all #[rustc_dirty] attrs have been actually checked r? @nikomatsakis
☀️ Test successful - status-appveyor, status-travis |
r? @nikomatsakis