diff options
| author | bors <bors@rust-lang.org> | 2013-07-12 05:46:42 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-12 05:46:42 -0700 |
| commit | ad708139fefe4710f002c549ba8bbb11af16f267 (patch) | |
| tree | 928eb90035b457fc241f1998dfdea84bb140db6e /src/libsyntax | |
| parent | f67935257b19b0904b282c949770d85089fdcf3c (diff) | |
| parent | f20c78c984d0e93d94420c9bddf17c06303de6e7 (diff) | |
| download | rust-ad708139fefe4710f002c549ba8bbb11af16f267.tar.gz rust-ad708139fefe4710f002c549ba8bbb11af16f267.zip | |
auto merge of #7706 : sanxiyn/rust/qualification-lint, r=pcwalton
Fix #2551. Lint is off by default because I didn't bother to fix all of std and extra.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast_util.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/ast_util.rs b/src/libsyntax/ast_util.rs index 1942cb6ad56..35ae45af392 100644 --- a/src/libsyntax/ast_util.rs +++ b/src/libsyntax/ast_util.rs @@ -462,6 +462,7 @@ pub fn id_visitor<T: Copy>(vfn: @fn(node_id, T)) -> visit::vt<T> { }, visit_ty: |ty, (t, vt)| { + vfn(ty.id, copy t); match ty.node { ty_path(_, _, id) => vfn(id, copy t), _ => { /* fall through */ } |
