diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-11-07 06:53:45 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-11-07 15:51:30 -0500 |
| commit | 244231720d29db856c5a28c0dda6c2efd7c9219a (patch) | |
| tree | 41648e7c6c16102a7a602be441b4f1cdad8e7411 /src/libsyntax/ast_map/mod.rs | |
| parent | c18a1327e3ccf02ae9f755ca280d53177eeb298d (diff) | |
Update parser with `for` syntax
Diffstat (limited to 'src/libsyntax/ast_map/mod.rs')
| -rw-r--r-- | src/libsyntax/ast_map/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast_map/mod.rs b/src/libsyntax/ast_map/mod.rs index 3adb062864e..d65be4c45e8 100644 --- a/src/libsyntax/ast_map/mod.rs +++ b/src/libsyntax/ast_map/mod.rs @@ -770,7 +770,7 @@ impl<'ast> Visitor<'ast> for NodeCollector<'ast> { for b in bounds.iter() { match *b { TraitTyParamBound(ref t) => { - self.insert(t.ref_id, NodeItem(i)); + self.insert(t.trait_ref.ref_id, NodeItem(i)); } _ => {} } |
