diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2017-05-12 07:15:29 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2017-05-12 07:15:29 +1200 |
| commit | fb7ba4772cdad24083fa73552425d4f91fd8be33 (patch) | |
| tree | 06138ef4c6c971eeb4b5b709c511fe9908306eed /src/libsyntax/util/node_count.rs | |
| parent | 67a0d27c6529de335304b10c6ae6b0eed77bfc79 (diff) | |
| download | rust-fb7ba4772cdad24083fa73552425d4f91fd8be33.tar.gz rust-fb7ba4772cdad24083fa73552425d4f91fd8be33.zip | |
Pass crate attributes in visit.rs
Diffstat (limited to 'src/libsyntax/util/node_count.rs')
| -rw-r--r-- | src/libsyntax/util/node_count.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/node_count.rs b/src/libsyntax/util/node_count.rs index 9d9957a0f45..0a5d0c2e7fe 100644 --- a/src/libsyntax/util/node_count.rs +++ b/src/libsyntax/util/node_count.rs @@ -31,7 +31,7 @@ impl<'ast> Visitor<'ast> for NodeCounter { self.count += 1; walk_ident(self, span, ident); } - fn visit_mod(&mut self, m: &Mod, _s: Span, _n: NodeId) { + fn visit_mod(&mut self, m: &Mod, _s: Span, _a: &[Attribute], _n: NodeId) { self.count += 1; walk_mod(self, m) } |
