diff options
| author | bors <bors@rust-lang.org> | 2017-05-13 22:58:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-05-13 22:58:04 +0000 |
| commit | 93dd1cab5d1ea0ceb178db424d4c907a20584b16 (patch) | |
| tree | 15ed2894e368535959cf276cccfea5f3334979b0 /src/libsyntax/util/node_count.rs | |
| parent | 826d8f3850b37a23481dfcf4a899b5dfc82d22e3 (diff) | |
| parent | fb7ba4772cdad24083fa73552425d4f91fd8be33 (diff) | |
| download | rust-93dd1cab5d1ea0ceb178db424d4c907a20584b16.tar.gz rust-93dd1cab5d1ea0ceb178db424d4c907a20584b16.zip | |
Auto merge of #41919 - nrc:save-crate, r=eddyb
Include the crate's root module in save-analysis r? @eddyb
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) } |
