| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-02-14 | Rename Module field children to resolutions | Jeffrey Seyfried | -8/+8 | |
| 2016-02-13 | Report privacy errors at most once per import (fixes #31402) | Jeffrey Seyfried | -17/+17 | |
| 2016-02-13 | Auto merge of #31524 - jonas-schievink:autoderef, r=steveklabnik | bors | -40/+40 | |
| 2016-02-12 | Autoderef in librustc_resolve | Jonas Schievink | -40/+40 | |
| 2016-02-12 | Auto merge of #30726 - GuillaumeGomez:compile-fail, r=brson | bors | -67/+94 | |
| r? @brson cc @alexcrichton I still need to add error code explanation test with this, but I can't figure out a way to generate the `.md` files in order to test example source codes. Will fix #27328. | ||||
| 2016-02-11 | bootstrap: Add a bunch of Cargo.toml files | Alex Crichton | -0/+16 | |
| These describe the structure of all our crate dependencies. | ||||
| 2016-02-11 | [breaking-change] don't glob export ast::{UintTy, IntTy} variants | Oliver Schneider | -12/+11 | |
| 2016-02-11 | [breaking-change] don't glob export ast::FloatTy variants | Oliver Schneider | -4/+4 | |
| 2016-02-11 | Fix regression from #31461 and fix the test that was supposed to catch it. | Jeffrey Seyfried | -0/+1 | |
| 2016-02-09 | Allow prelude imports to shadow eachother (needed for the [pretty] tests) | Jeffrey Seyfried | -9/+3 | |
| Derive the Default impl for NameResolution | ||||
| 2016-02-08 | Reallow methods from traits that are shadowed by non-import items | Jeffrey Seyfried | -2/+26 | |
| 2016-02-08 | Refactor away add_export and cleanup the end of resolve_single_import | Jeffrey Seyfried | -52/+25 | |
| 2016-02-08 | Replace children and import_resolutions with a single NameResolution-valued map. | Jeffrey Seyfried | -499/+221 | |
| Refactor away resolve_name_in_module in resolve_imports.rs Rewrite and improve the core name resolution procedure in NameResolution::result and Module::resolve_name Refactor the duplicate checking code into NameResolution::try_define | ||||
| 2016-02-08 | Change try_define_child to return a Result instead of an Option | Jeffrey Seyfried | -6/+6 | |
| 2016-02-08 | Write and use increment_outstanding_references_for and ↵ | Jeffrey Seyfried | -19/+27 | |
| decrement_outstanding_references_for | ||||
| 2016-02-08 | Refactor away the fields id and is_public of ImportResolution and rename ↵ | Jeffrey Seyfried | -65/+49 | |
| ImportResolution to NameResolution | ||||
| 2016-02-08 | Refactor away separate tracking of used_public and used_reexport. | Jeffrey Seyfried | -48/+37 | |
| NameBinding now encodes these directly with binding.is_public() and (binding.is_public() && binding.is_import()) (respectively) | ||||
| 2016-02-08 | Expand NameBinding to better represent bindings from imports | Jeffrey Seyfried | -21/+45 | |
| 2016-02-08 | Add and use an arena for `NameBinding`s | Jeffrey Seyfried | -40/+48 | |
| 2016-02-08 | Refactor away Target | Jeffrey Seyfried | -95/+75 | |
| 2016-02-08 | Make resolve_name_in_module solely responsible for tracking used crates in ↵ | Jeffrey Seyfried | -12/+6 | |
| lib.rs | ||||
| 2016-02-07 | Update long error explanations | Guillaume Gomez | -67/+94 | |
| 2016-02-05 | Instrument a bunch of tasks that employ the HIR map in one way or | Niko Matsakis | -0/+10 | |
| another and were not previously instrumented. | ||||
| 2016-02-03 | Remove unneeded borrows and slices | Jeffrey Seyfried | -15/+15 | |
| 2016-02-03 | Remove unneeded use of Cell | Jeffrey Seyfried | -6/+6 | |
| 2016-02-03 | Refactor away resolve_item_by_name_in_lexical_scope | Jeffrey Seyfried | -45/+10 | |
| 2016-02-03 | Refactor resolve_import_for_module | Jeffrey Seyfried | -77/+32 | |
| 2016-02-03 | Refactor away resolve_module_in_lexical_scope | Jeffrey Seyfried | -34/+11 | |
| 2016-02-03 | Refactor block_needs_anonymous_module | Jeffrey Seyfried | -19/+7 | |
| 2016-02-03 | Refactor more functionality into record_import_use | Jeffrey Seyfried | -30/+15 | |
| 2016-02-03 | Refactor resolve_item_in_lexical_scope | Jeffrey Seyfried | -56/+18 | |
| 2016-02-03 | Improve detection of unused imports | Jeffrey Seyfried | -10/+15 | |
| 2016-02-02 | Add fake import resolutions & targets for names in bad imports | Dirk Gadsden | -13/+59 | |
| 2016-02-01 | Auto merge of #31317 - jseyfried:remove_external_module_children, r=nrc | bors | -114/+74 | |
| This PR refactors away `Module`'s `external_module_children` and instead puts `extern crate` declarations in `children` like other items, simplifying duplicate checking and name resolution. This PR also allows values to share a name with extern crates, which are only defined in the type namespace. Other than that, it is a pure refactoring. r? @nrc | ||||
| 2016-02-01 | Auto merge of #31277 - DanielJCampbell:SpanEquality, r=nrc | bors | -1/+1 | |
| r? @nrc | ||||
| 2016-02-01 | Spans now derive equality | Daniel Campbell | -1/+1 | |
| 2016-01-31 | Refactor away the field Module::external_module_children in resolve | Jeffrey Seyfried | -114/+74 | |
| 2016-01-31 | Revert PR #30324, fixing a bug in which a public glob import can make ↵ | Jeffrey Seyfried | -3/+0 | |
| preceding imports public (fixes #30159). | ||||
| 2016-01-30 | Auto merge of #31288 - GuillaumeGomez:error_code_tidy, r=brson | bors | -2/+2 | |
| r? @steveklabnik | ||||
| 2016-01-29 | Remove resolve::dump_module | Jeffrey Seyfried | -29/+0 | |
| 2016-01-29 | Nits and other local improvements in resolve | Jeffrey Seyfried | -48/+25 | |
| 2016-01-29 | Clean up resolve_single_import | Jeffrey Seyfried | -106/+66 | |
| 2016-01-29 | Refactor away NameBindings, NsDef, ImportResolutionPerNamespace, ↵ | Jeffrey Seyfried | -824/+463 | |
| DuplicateCheckingMode, and NamespaceDefinition. | ||||
| 2016-01-29 | Add check for unused error codes | ggomez | -2/+2 | |
| 2016-01-29 | Auto merge of #31212 - jseyfried:fix_ICE_in_resolve, r=nrc | bors | -73/+15 | |
| This fixes an ICE introduced by #31065 that occurs when a path cannot be resolved because of a certain class of unresolved import (`Indeterminate` imports). For example, this currently causes an ICE: ```rust mod foo { pub use self::*; } fn main() { foo::f() } ``` r? @nrc | ||||
| 2016-01-29 | Auto merge of #31144 - jseyfried:remove_import_ordering_restriction, r=nrc | bors | -23/+0 | |
| We no longer require `use` and `extern crate` items to precede other items in modules thanks to [RFC #385](https://github.com/rust-lang/rfcs/pull/385), but we still require `use` and `extern crate` items to precede statements in blocks (other items can appear anywhere in a block). I think that this is a needless distinction between imports and other items that contradicts the intent of the RFC. | ||||
| 2016-01-28 | Refactor away NameSearchType | Jeffrey Seyfried | -55/+11 | |
| 2016-01-28 | Resolve: Fix an ICE that occurs when an identifier refers to an ↵ | Jeffrey Seyfried | -18/+4 | |
| indeterminate import (i.e. one that is not resolved and not known to have failed) | ||||
| 2016-01-26 | Auto merge of #31120 - alexcrichton:attribute-deny-warnings, r=brson | bors | -0/+1 | |
| This commit removes the `-D warnings` flag being passed through the makefiles to all crates to instead be a crate attribute. We want these attributes always applied for all our standard builds, and this is more amenable to Cargo-based builds as well. Note that all `deny(warnings)` attributes are gated with a `cfg(stage0)` attribute currently to match the same semantics we have today | ||||
| 2016-01-26 | Auto merge of #31105 - jseyfried:fix_lexical_scoping, r=nrc | bors | -30/+50 | |
| This fixes #23880, a scoping bug in which items in a block are shadowed by local variables and type parameters that are in scope. After this PR, an item in a block will shadow any local variables or type parameters above the item in the scope hierarchy. Items in a block will continue to be shadowed by local variables in the same block (even if the item is defined after the local variable). This is a [breaking-change]. For example, the following code breaks: ```rust fn foo() { let mut f = 1; { fn f() {} f += 1; // This will resolve to the function instead of the local variable } } | ||||
