We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38774aa commit b1a9f9eCopy full SHA for b1a9f9e
src/librustc/lint/context.rs
@@ -1117,6 +1117,13 @@ impl<'a> ast_visit::Visitor<'a> for EarlyContext<'a> {
1117
}
1118
1119
fn visit_mac(&mut self, mac: &'a ast::Mac) {
1120
+ // FIXME(#54110): So, this setup isn't really right. I think
1121
+ // that (a) the libsyntax visitor ought to be doing this as
1122
+ // part of `walk_mac`, and (b) we should be calling
1123
+ // `visit_path`, *but* that would require a `NodeId`, and I
1124
+ // want to get #53686 fixed quickly. -nmatsakis
1125
+ ast_visit::walk_path(self, &mac.node.path);
1126
+
1127
run_lints!(self, check_mac, mac);
1128
1129
0 commit comments