librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc
This commit is contained in:
parent
3a5b641720
commit
2db3abddcd
251 changed files with 1353 additions and 454 deletions
|
@ -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)]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue