diff options
| author | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-12-06 11:26:52 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-12-06 11:28:51 +0100 |
| commit | 5e51edb0de138d3805db5ca16160c829d3d32291 (patch) | |
| tree | 5d5856c15639b0ef301d90ed00782f2b8720f685 /src/libsyntax/util | |
| parent | f7c93c07b8533e1d38395cc2d9d37cd2d9bec978 (diff) | |
annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor
Diffstat (limited to 'src/libsyntax/util')
| -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 a1f07381db7..b90802d1e7e 100644 --- a/src/libsyntax/util/node_count.rs +++ b/src/libsyntax/util/node_count.rs @@ -26,7 +26,7 @@ impl NodeCounter { } } -impl Visitor for NodeCounter { +impl<'ast> Visitor<'ast> for NodeCounter { fn visit_ident(&mut self, span: Span, ident: Ident) { self.count += 1; walk_ident(self, span, ident); |
