| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-08-14 | Rollup merge of #35596 - crypto-universe:E0254_style_and_tests, ↵ | Eduard-Mihai Burtescu | -2/+5 | |
| r=jonathandturner Add label to E0254 This issue #35513 is a part of #35233. r? @jonathandturner | ||||
| 2016-08-14 | Rollup merge of #35558 - lukehinds:master, r=nikomatsakis | Eduard-Mihai Burtescu | -1/+3 | |
| Update error message for E0253 #35512 Fixes #35512. Part of #35233. | ||||
| 2016-08-11 | Auto merge of #35592 - jonathandturner:rollup, r=jonathandturner | bors | -1/+4 | |
| Rollup of 23 pull requests - Successful merges: #35279, #35331, #35358, #35375, #35445, #35448, #35482, #35486, #35505, #35528, #35530, #35532, #35536, #35537, #35541, #35552, #35554, #35555, #35557, #35562, #35565, #35569, #35576 - Failed merges: #35395, #35415, #35563 | ||||
| 2016-08-11 | Add label to E0254 | crypto-universe | -2/+5 | |
| This issue #35513 is a part of #35233. r? @jonathandturner | ||||
| 2016-08-11 | Fix tidy warning | Jonathan Turner | -1/+2 | |
| 2016-08-11 | Rollup merge of #35536 - hank-der-hafenarbeiter:E0433, r=jonathandturner | Jonathan Turner | -1/+3 | |
| Updated E0433 to new error message. (no bonus) Part of #35345 r? @jonathandturner | ||||
| 2016-08-11 | Substitute private type aliases in rustdoc | petrochenkov | -0/+1 | |
| 2016-08-09 | remove field that need not be public | Niko Matsakis | -1/+1 | |
| 2016-08-09 | Update error message for E0253 #35512 | Luke Hinds | -1/+3 | |
| Fixes #35512. Part of #35233. | ||||
| 2016-08-09 | Updated E0433 to new error message. (no bonus) | hank-der-hafenarbeiter | -1/+3 | |
| 2016-08-07 | Auto merge of #35362 - medzin:E0252, r=GuillaumeGomez | bors | -1/+5 | |
| Updated error message E0252 Fixes #35306 as part of #35233. r? @GuillaumeGomez | ||||
| 2016-08-06 | Rollup merge of #35363 - GuillaumeGomez:err_codes, r=jonathandturner | Eduard-Mihai Burtescu | -1/+40 | |
| Err codes r? @jonathandturner | ||||
| 2016-08-06 | Updated error message E0252 | Adam Medziński | -1/+5 | |
| 2016-08-05 | Auto merge of #35116 - jseyfried:groundwork_for_new_import_semantics, r=nrc | bors | -215/+213 | |
| resolve: diagnostics improvement and groundwork for RFC 1560 Fixes #35115, fixes #35135, and lays groundwork for #32213 (cc #35120). r? @nrc | ||||
| 2016-08-05 | Add new error code tests | Guillaume Gomez | -0/+1 | |
| 2016-08-05 | Update E0404 to new format. | Ryan Scott | -1/+7 | |
| 2016-08-05 | Add E0254 error explanation | Guillaume Gomez | -1/+39 | |
| 2016-08-01 | Refactor `directive.import(binding)` -> `resolver.import(binding, directive)`. | Jeffrey Seyfried | -19/+23 | |
| 2016-08-01 | nit: rename `module_` -> `module` | Jeffrey Seyfried | -24/+22 | |
| 2016-08-01 | Improve diagnostics for pattern bindings that illegally shadow items. | Jeffrey Seyfried | -15/+19 | |
| Improve unused import detection. | ||||
| 2016-08-01 | Clean up `resolver.record_use()`. | Jeffrey Seyfried | -21/+11 | |
| 2016-08-01 | Refactor `module.try_define_child(..)` -> `resolver.try_define(module, ..)`. | Jeffrey Seyfried | -69/+75 | |
| 2016-08-01 | Refactor away `resolution.try_define()`. | Jeffrey Seyfried | -18/+15 | |
| 2016-08-01 | Refactor away `resolution.report_conflicts()`. | Jeffrey Seyfried | -22/+12 | |
| 2016-08-01 | Implement `Deref` for `ImportResolver` to `Resolver`. | Jeffrey Seyfried | -53/+62 | |
| 2016-07-31 | Make "type aliases cannot be used for traits" a note instead of a span_label. | Jeffrey Seyfried | -16/+1 | |
| 2016-07-31 | Clean up `resolve_trait_reference`. | Jeffrey Seyfried | -32/+31 | |
| 2016-07-31 | Avoid emitting a unhelpful cascading resolution error. | Jeffrey Seyfried | -0/+2 | |
| 2016-07-30 | Rollup merge of #35063 - jseyfried:avoid_importing_inaccessible_names, r=nrc | Manish Goregaokar | -50/+35 | |
| resolve: Exclude inaccessible names from single imports If a single import resolves to an inaccessible name in some but not all namespaces, avoid importing the name in the inaccessible namespaces. Currently, the inaccessible namespaces are imported but cause a privacy error when used. r? @nrc | ||||
| 2016-07-27 | If a single import resolves to an inaccessible name in some but not all ↵ | Jeffrey Seyfried | -50/+35 | |
| namespaces, avoid importing the name in the inaccessible namespaces. Currently, the inaccessible namespaces are imported but cause a privacy error when used. | ||||
| 2016-07-21 | Fix ICE happening when unresolved imports are used in patterns | Vadim Petrochenkov | -2/+2 | |
| 2016-07-17 | Rename `mtwt` to `hygiene` | Jeffrey Seyfried | -2/+2 | |
| 2016-07-17 | Clean up and encapsulate `syntax::ext::mtwt` | Jeffrey Seyfried | -14/+12 | |
| 2016-07-15 | Auto merge of #34570 - jseyfried:no_rename, r=nrc | bors | -29/+164 | |
| Simplify the macro hygiene algorithm This PR removes renaming from the hygiene algorithm and treats differently marked identifiers as unequal. This change makes the scope of identifiers in `macro_rules!` items empty. That is, identifiers in `macro_rules!` definitions do not inherit any semantics from the `macro_rules!`'s scope. Since `macro_rules!` macros are items, the scope of their identifiers "should" be the same as that of other items; in particular, the scope should contain only items. Since all items are unhygienic today, this would mean the scope should be empty. However, the scope of an identifier in a `macro_rules!` statement today is the scope that the identifier would have if it replaced the `macro_rules!` (excluding anything unhygienic, i.e. locals only). To continue to support this, this PR tracks the scope of each `macro_rules!` and uses it in `resolve` to ensure that an identifier expanded from a `macro_rules!` gets a chance to resolve to the locals in the `macro_rules!`'s scope. This PR is a pure refactoring. After this PR, - `syntax::ext::expand` is much simpler. - We can expand macros in any order without causing problems for hygiene (needed for macro modularization). - We can deprecate or remove today's `macro_rules!` scope easily. - Expansion performance improves by 25%, post-expansion memory usage decreases by ~5%. - Expanding a block is no longer quadratic in the number of `let` statements (fixes #10607). r? @nrc | ||||
| 2016-07-15 | Include the `MacroDefinition` rib in the label ribs. | Jeffrey Seyfried | -4/+16 | |
| 2016-07-14 | Implement `macro_rules!` placeholders and the macro scope map | Jeffrey Seyfried | -17/+81 | |
| 2016-07-14 | Instead of renaming, treat differently marked identifiers as unequal | Jeffrey Seyfried | -27/+26 | |
| 2016-07-14 | Move node id assigning into `resolve` | Jeffrey Seyfried | -0/+60 | |
| 2016-07-13 | Fixed issue where importing a trait method directly and then calling the ↵ | Michael Rosenberg | -10/+18 | |
| method causes a compiler panic | ||||
| 2016-07-08 | Stabilize `FnOnce::Output` + Fix rebase | petrochenkov | -3/+2 | |
| 2016-07-08 | Do not generate Def::Err in bindings | Vadim Petrochenkov | -19/+13 | |
| Instead of Def::Err erroneous bindings can get usual definitions that doesn't require special cases later on and have less chances to generate ICE. | ||||
| 2016-07-08 | Don't generate Def::Err if it's not stored in def_map immediately | Vadim Petrochenkov | -5/+5 | |
| 2016-07-06 | Auto merge of #34655 - jseyfried:improve_resolver_api, r=nrc | bors | -1/+29 | |
| Add to `resolve`'s public API This adds a public method `with_module_lexical_scope` to `Resolver` to allow users to resolve a path in the lexical scope of an arbitrary module. r? @nrc | ||||
| 2016-07-06 | Rollup merge of #34636 - tshepang:shorten, r=GuillaumeGomez | Steve Klabnik | -2/+1 | |
| doc: fix and shorten comment | ||||
| 2016-07-05 | Add FIXME comment | Jeffrey Seyfried | -0/+1 | |
| 2016-07-05 | Add method `with_module_lexical_scope` to `Resolver`. | Jeffrey Seyfried | -1/+28 | |
| 2016-07-03 | doc: fix and shorten comment | Tshepang Lekhonkhobe | -2/+1 | |
| 2016-07-01 | Add the `after_expand` entry point between import resolution and the rest of ↵ | Jeffrey Seyfried | -17/+6 | |
| name resolution | ||||
| 2016-06-29 | Rollup merge of #34542 - jseyfried:fix_recursive_modules, r=nrc | Manish Goregaokar | -1/+3 | |
| Fix non-termination on recursive module re-exports in extern crates Fixes #33776. r? @nrc | ||||
| 2016-06-29 | Rollup merge of #34467 - GuillaumeGomez:err-codes, r=brson | Manish Goregaokar | -82/+207 | |
| Add new error codes and improve some explanations r? @brson cc @steveklabnik cc @jonathandturner | ||||
