| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-06-20 | rename hir::map::expect_expr_by_hir_id to expect_expr | ljedrz | -1/+1 | |
| 2019-06-20 | remove uses of the NodeId hir::map::expr | ljedrz | -6/+0 | |
| 2019-06-20 | remove definitions::def_index_to_node_id (unused) | ljedrz | -5/+0 | |
| 2019-06-20 | make hir::def_kind work with HirId | ljedrz | -5/+5 | |
| 2019-06-20 | rename hir::map::name_by_hir_id to ::name | ljedrz | -2/+2 | |
| 2019-06-20 | remove hir::map::name | ljedrz | -7/+0 | |
| 2019-06-19 | rustc: disallow cloning HIR nodes. | Eduard-Mihai Burtescu | -5/+5 | |
| 2019-06-18 | rustc: remove 'x: 'y bounds (except from comments/strings). | Eduard-Mihai Burtescu | -6/+6 | |
| 2019-06-17 | change NodeId to HirId in some HIR docs | ljedrz | -5/+5 | |
| 2019-06-17 | simplify ICE handling in HirIdValidator | ljedrz | -12/+0 | |
| 2019-06-17 | fix a HIR doc, simplify one HIR-related function call | ljedrz | -1/+1 | |
| 2019-06-17 | renamve hir_to_string to node_to_string | ljedrz | -18/+18 | |
| 2019-06-17 | remove _by_hir_id if there is no NodeId counterpart | ljedrz | -14/+14 | |
| 2019-06-17 | replace some uses of NodeId with HirId | ljedrz | -93/+8 | |
| 2019-06-11 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -1/+2 | |
| 2019-06-11 | rustc: deny(unused_lifetimes). | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-06-10 | Rollup merge of #59600 - tobia:master, r=pnkfelix | Mazdak Farrokhzad | -2/+10 | |
| Replaced linear token counting macros with optimized implementation There are currently two distinct token-counting macros in the source. Both implement the trivial algorithm, with linear complexity. They may or may not be adequate for their use case, but considering that other people are probably going to copy and paste them whenever they need a token-counting macro, I replaced them with an optimized implementation with logarithmic complexity. | ||||
| 2019-06-06 | syntax: Use `Token` in visitors and fix a mut visitor test | Vadim Petrochenkov | -3/+3 | |
| 2019-06-06 | syntax: Rename `Token` into `TokenKind` | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | Always use token kinds through `token` module rather than `Token` type | Vadim Petrochenkov | -1/+1 | |
| 2019-06-05 | Addressed points raised in review. | Alexander Regueiro | -9/+9 | |
| 2019-06-05 | Implemented for function bounds, type bounds, and named existential types. | Alexander Regueiro | -19/+69 | |
| 2019-06-05 | Aggregation of drive-by cosmetic changes. | Alexander Regueiro | -43/+44 | |
| 2019-06-03 | rustc: remove `HirId` from `ArgSource::AsyncFn` | David Wood | -13/+0 | |
| This commit removes the `HirId` from `ArgSource::AsyncFn`, relying on the fact that only `simple_ident` is used in each of the locations that previously took the original pattern from the `ArgSource::AsyncFn`. | ||||
| 2019-06-03 | rustc: async fn drop order lowering in HIR | David Wood | -0/+13 | |
| This commit re-implements the async fn drop order lowering changes so that it all takes place in HIR lowering, building atop the work done by `@eddyb` to refactor `Res::Upvar`. Previously, this types involved in the lowering were constructed in libsyntax as they had to be used during name resolution and HIR lowering. This was awful because none of that logic should have existed in libsyntax. This commit also changes `ArgSource` to keep a `HirId` to the original argument pattern rather than a cloned copy of the pattern. | ||||
| 2019-06-03 | syntax: revert `ast::AsyncArgument` and associated changes. | Eduard-Mihai Burtescu | -32/+9 | |
| Here follows the main reverts applied in order to make this commit: Revert "Rollup merge of #60676 - davidtwco:issue-60674, r=cramertj" This reverts commit 45b09453dbf120cc23d889435aac3ed7d2ec8eb7, reversing changes made to f6df1f6c30b469cb9e65c5453a0efa03cbb6005e. Revert "Rollup merge of #60437 - davidtwco:issue-60236, r=nikomatsakis" This reverts commit 16939a50ea440e72cb6ecefdaabb988addb1ec0e, reversing changes made to 12bf98155249783583a91863c5dccf9e346f1226. Revert "Rollup merge of #59823 - davidtwco:issue-54716, r=cramertj" This reverts commit 62d1574876f5531bce1b267e62dff520d7adcbbb, reversing changes made to 4eff8526a789e0dfa8b97f7dec91b7b5c18e8544. | ||||
| 2019-06-02 | Auto merge of #61460 - Centril:rollup-8txhjx4, r=Centril | bors | -4/+0 | |
| Rollup of 6 pull requests Successful merges: - #61380 (Fix some issues with `unwrap_usize` instead of `assert_usize`) - #61423 (codegen: change `$6d$` to `$u6d$`) - #61438 (Point at individual type args on arg count mismatch) - #61441 (Tweak wording when encountering `fn` call in pattern) - #61451 (Fix missing semicolon in doc) - #61458 (Fix typo in AsRef doc) Failed merges: r? @ghost | ||||
| 2019-06-01 | rustc: collect upvars from HIR, instead of during name resolution. | Eduard-Mihai Burtescu | -8/+10 | |
| 2019-05-31 | Make generics always have a valid span | Esteban Küber | -4/+0 | |
| 2019-05-28 | Auto merge of #60955 - agnxy:rename-assoc, r=oli-obk,Centril | bors | -5/+5 | |
| Rename "Associated*" to "Assoc*" This change is for #60163. r? @oli-obk | ||||
| 2019-05-27 | Pre-intern "0", "1", ..., "9", and use where appropriate. | Nicholas Nethercote | -3/+2 | |
| 2019-05-26 | Rename "Associated*" to "Assoc*" | Andrew Xu | -5/+5 | |
| We are going to uniform the terminology of all associated items. Methods that may or may not have `self` are called "associated functions". Because `AssociatedFn` is a bit long, we rename `Associated` to `Assoc`. | ||||
| 2019-05-25 | Auto-derive Encode and Decode implementations | Fabian Drinck | -25/+1 | |
| 2019-05-23 | Auto merge of #60174 - matthewjasper:add-match-arm-scopes, r=pnkfelix | bors | -0/+17 | |
| Add match arm scopes and other scope fixes * Add drop and lint scopes for match arms. * Lint attributes are now respected on match arms. * Make sure we emit a StorageDead if we diverge when initializing a temporary. * Adjust MIR pretty printing of scopes for locals. * Don't generate duplicate lint scopes for `let statements`. * Add some previously missing fake borrows for matches. closes #46525 cc @rust-lang/compiler | ||||
| 2019-05-22 | Eliminate unnecessary `Ident::with_empty_ctxt`s | Vadim Petrochenkov | -1/+1 | |
| 2019-05-22 | Simplify use of keyword symbols | Vadim Petrochenkov | -3/+3 | |
| 2019-05-21 | Give match arms an HirId and a Span | Matthew Jasper | -0/+17 | |
| 2019-05-20 | Ban multi-trait objects via trait aliases. | Alexander Regueiro | -1/+1 | |
| 2019-05-18 | Declare DefIndex with the newtype_index macro | Fabian Drinck | -12/+12 | |
| 2019-05-17 | Avoid unnecessary interning in `DefPathData::as_interned_str()`. | Nicholas Nethercote | -9/+9 | |
| 2019-05-13 | Remove the equality operation between `Symbol` and strings. | Nicholas Nethercote | -2/+2 | |
| And also the equality between `Path` and strings, because `Path` is made up of `Symbol`s. | ||||
| 2019-05-09 | Rollup merge of #60647 - petrochenkov:nospace, r=michaelwoerister | Mazdak Farrokhzad | -170/+86 | |
| cleanup: Remove `DefIndexAddressSpace` The scheme with two address spaces for `DefIndex` was needed in the past, but apparently not needed anymore (after removing `DefId`s from locals and `HirId`-ification). | ||||
| 2019-05-09 | Fix typo | John Kåre Alsaker | -2/+2 | |
| 2019-05-09 | cleanup: Remove `DefIndexAddressSpace` | Vadim Petrochenkov | -170/+86 | |
| 2019-05-08 | Rename HirMap to HirEntryMap and add some comments | John Kåre Alsaker | -8/+23 | |
| 2019-05-08 | Optimize HIR map | John Kåre Alsaker | -52/+80 | |
| 2019-05-06 | Auto merge of #60337 - fabric-and-ink:hiridification, r=Zoxc | bors | -57/+33 | |
| A bit of HirIdification A small contribution to #50928. | ||||
| 2019-05-05 | Auto merge of #60525 - eddyb:namespaces-not-kinds, r=petrochenkov | bors | -63/+21 | |
| rustc: collapse relevant DefPathData variants into {Type,Value,Macro,Lifetime}Ns. `DefPathData` was meant to disambiguate within each namespace, but over the years, that purpose was overlooked, and it started to serve a double-role as a sort of `DefKind` (which #60462 properly adds). Now, we can go back to *only* categorizing namespaces (at least for the variants with names in them). r? @petrochenkov or @nikomatsakis cc @michaelwoerister | ||||
| 2019-05-04 | Remove `def_path_from_id`, `node_id_to_string` | Fabian Drinck | -31/+20 | |
| 2019-05-04 | Replace `NodeId` variant of `read` | Fabian Drinck | -17/+13 | |
