rust/src/librustc_resolve
bors 9c6a0088fb Auto merge of #31857 - jseyfried:fix_scoping, r=nikomatsakis
This fixes a bug (#31845) introduced in #31105 in which lexical scopes contain items from all anonymous module ancestors, even if the path to the anonymous module includes a normal module:
```rust
fn f() {
    fn g() {}
    mod foo {
        fn h() {
           g(); // This erroneously resolves on nightly
        }
    }
}
```

This is a [breaking-change] on nightly but not on stable or beta.
r? @nikomatsakis
2016-02-26 04:38:28 +00:00
..
build_reduced_graph.rs Fix the visibility of extern crate declarations and stop warning on pub extern crate 2016-02-24 01:34:14 +00:00
Cargo.toml rustbuild: Sync some Cargo.toml/lib.rs dependencies 2016-02-21 09:49:13 -08:00
check_unused.rs Spans now derive equality 2016-02-01 10:18:50 +13:00
diagnostics.rs Show candidates for names not in scope 2016-02-19 01:10:36 +01:00
lib.rs Auto merge of #31857 - jseyfried:fix_scoping, r=nikomatsakis 2016-02-26 04:38:28 +00:00
resolve_imports.rs Uncapitalize note messages 2016-02-24 13:12:13 +00:00