diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-01-08 19:37:25 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-01-08 22:02:35 -0800 |
| commit | 2db3abddcd6784dc5529081c6d831c972abbe755 (patch) | |
| tree | 0f18922234f5fce5fda2af3bdbd7ad4a03423ecd /src/libsyntax/ext/auto_encode.rs | |
| parent | 3a5b64172045e7f1ec1981c8da2150c7feb73079 (diff) | |
| download | rust-2db3abddcd6784dc5529081c6d831c972abbe755.tar.gz rust-2db3abddcd6784dc5529081c6d831c972abbe755.zip | |
librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc
Diffstat (limited to 'src/libsyntax/ext/auto_encode.rs')
| -rw-r--r-- | src/libsyntax/ext/auto_encode.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libsyntax/ext/auto_encode.rs b/src/libsyntax/ext/auto_encode.rs index b8fe00e246c..152c49461b8 100644 --- a/src/libsyntax/ext/auto_encode.rs +++ b/src/libsyntax/ext/auto_encode.rs @@ -88,10 +88,14 @@ node twice. */ +use core::prelude::*; + +use ast; use ast_util; use attr; use codemap::span; use ext::base::*; +use parse; use core::vec; use std::map; @@ -421,7 +425,7 @@ fn mk_impl( @{ // This is a new-style impl declaration. // XXX: clownshoes - ident: ast::token::special_idents::clownshoes_extensions, + ident: parse::token::special_idents::clownshoes_extensions, attrs: ~[], id: cx.next_id(), node: ast::item_impl(trait_tps, opt_trait, ty, ~[f(ty)]), |
