Now imports are not re-exported unless 'export' is explicitly used.
This commit is contained in:
parent
8b141d5d37
commit
9f5dddf08c
21 changed files with 148 additions and 227 deletions
|
|
@ -220,7 +220,7 @@ fn has_nonlocal_exits(&ast::block b) -> bool {
|
|||
ret *has_exits;
|
||||
}
|
||||
|
||||
fn local_rhs_span(&@ast::local l, &ast::span def) -> ast::span {
|
||||
fn local_rhs_span(&@ast::local l, &span def) -> span {
|
||||
alt (l.init) {
|
||||
case (some(?i)) { ret i.expr.span; }
|
||||
case (_) { ret def; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue