diff options
| author | bors <bors@rust-lang.org> | 2016-03-25 15:53:16 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-03-25 15:53:16 -0700 |
| commit | a1e29daf1a9ca4e26719887b0c934de5d1695031 (patch) | |
| tree | 5da1402523312269a5fb7c7e5e7aa48abdfd8f60 /src/libsyntax/errors | |
| parent | cf9274b727423306121c223681022ac0531c6091 (diff) | |
| parent | 54cd4d1472508af604e2fed328951dd5c622ecbc (diff) | |
| download | rust-a1e29daf1a9ca4e26719887b0c934de5d1695031.tar.gz rust-a1e29daf1a9ca4e26719887b0c934de5d1695031.zip | |
Auto merge of #32167 - jseyfried:refactor_prelude, r=nikomatsakis
resolve: Refactor how the prelude is handled This PR refactors how the prelude is handled in `resolve`. Instead of importing names from the prelude into each module's `resolutions`, this PR adds a new field `prelude: RefCell<Option<Module>>` to `ModuleS` that is set during import resolution but used only when resolving in a lexical scope (i.e. the scope of an initial segment of a relative path). r? @nikomatsakis
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
