| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-21 | Use Arena inside hir::ForeignItem. | Camille GILLOT | -3/+3 | |
| 2019-12-21 | Handle Attributes in arena. | Camille GILLOT | -1/+1 | |
| 2019-12-21 | Use Arena inside hir::Item. | Camille GILLOT | -6/+6 | |
| 2019-12-21 | Use Arena inside hir::Crate. | Camille GILLOT | -11/+11 | |
| 2019-12-14 | Do not ICE on unnamed future | Esteban Küber | -3/+10 | |
| 2019-12-06 | Rename to `then_some` and `then` | varkor | -1/+1 | |
| 2019-12-06 | Use `to_option` in various places | varkor | -7/+1 | |
| 2019-11-26 | Make the HIR map own the Definitions. | Camille GILLOT | -5/+5 | |
| 2019-11-23 | Move def collector from `rustc` to `rustc_resolve` | Vadim Petrochenkov | -353/+10 | |
| 2019-11-19 | More HashStable. | Camille GILLOT | -3/+1 | |
| 2019-11-14 | TAIT: use hack in ->HIR to avoid more changes | Mazdak Farrokhzad | -3/+2 | |
| 2019-11-13 | Get `FnSig` by `HirId` | Dylan MacKenzie | -0/+35 | |
| 2019-11-08 | ast::ItemKind::Fn: use ast::FnSig | Mazdak Farrokhzad | -9/+4 | |
| 2019-11-08 | ast::MethodSig -> ast::FnSig | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-08 | hir::MethodSig -> hir::FnSig | Mazdak Farrokhzad | -6/+6 | |
| 2019-11-08 | hir::ItemKind::Fn: use hir::MethodSig | Mazdak Farrokhzad | -10/+10 | |
| 2019-11-07 | syntax::parser::token -> syntax::token | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-05 | rustc: remove "GlobalMetaData" dead code from hir::map::definitions. | Eduard-Mihai Burtescu | -87/+3 | |
| 2019-10-28 | rustc: use IndexVec<DefIndex, T> instead of Vec<T>. | Eduard-Mihai Burtescu | -23/+17 | |
| 2019-10-27 | rustc, rustc_passes: don't depend on syntax_expand. | Mazdak Farrokhzad | -4/+4 | |
| This is done by moving some data definitions to syntax::expand. | ||||
| 2019-10-25 | rustc: replace a few `.cloned()` with `.copied()`. | Eduard-Mihai Burtescu | -3/+3 | |
| 2019-10-25 | rustc: make DefPathData (and friends) Copy (now that it uses Symbol). | Eduard-Mihai Burtescu | -5/+5 | |
| 2019-10-23 | Rollup merge of #65657 - nnethercote:rm-InternedString-properly, r=eddyb | Mazdak Farrokhzad | -40/+37 | |
| Remove `InternedString` This PR removes `InternedString` by converting all occurrences to `Symbol`. There are a handful of places that need to use the symbol chars instead of the symbol index, e.g. for stable sorting; local conversions `LocalInternedString` is used in those places. r? @eddyb | ||||
| 2019-10-21 | Remove many unnecessary trait derivations. | Nicholas Nethercote | -1/+0 | |
| 2019-10-21 | Remove `InternedString`. | Nicholas Nethercote | -2/+2 | |
| By using `LocalInternedString` instead for the few remaining uses. | ||||
| 2019-10-21 | Convert fields within `DefPathData` from `InternedString` to `Symbol`. | Nicholas Nethercote | -38/+35 | |
| It's a full conversion, except in `DefKey::compute_stable_hash()` where a `Symbol` now is converted to an `InternedString` before being hashed. This was necessary to avoid test failures. | ||||
| 2019-10-19 | Rollup merge of #65545 - nnethercote:more-symbol-cleanups, r=petrochenkov | Mazdak Farrokhzad | -3/+3 | |
| More symbol cleanups Some minor improvements, mostly aimed at reducing unimportant differences between `Symbol` and `InternedString`. Helps a little with #60869. r? @petrochenkov | ||||
| 2019-10-19 | expand: Simplify expansion of derives | Vadim Petrochenkov | -1/+1 | |
| And make it more uniform with other macros. By merging placeholders for future derives' outputs into the derive container's output fragment early. | ||||
| 2019-10-18 | Remove `Hash` impls for `DefPath`, `DisambiguatedDefPathData`, and `DefKey`. | Nicholas Nethercote | -3/+3 | |
| They aren't used. | ||||
| 2019-10-16 | move syntax::ext to new crate syntax_expand | Mazdak Farrokhzad | -3/+3 | |
| 2019-10-09 | self-profiling: Add events for everything except trait selection. | Michael Woerister | -0/+2 | |
| 2019-09-30 | Auto merge of #64778 - csmoe:index, r=eddyb | bors | -3/+3 | |
| Introduce librustc_index crate Closes #50592 | ||||
| 2019-09-29 | Rollup merge of #64825 - estebank:match-unit, r=Centril | Mazdak Farrokhzad | -0/+26 | |
| Point at enclosing match when expecting `()` in arm When encountering code like the following: ```rust fn main() { match 3 { 4 => 1, 3 => { println!("Yep it maches."); 2 } _ => 2 } println!("Bye!") } ``` point at the enclosing `match` expression and suggest ignoring the returned value: ``` error[E0308]: mismatched types --> $DIR/match-needing-semi.rs:8:13 | LL | / match 3 { LL | | 4 => 1, LL | | 3 => { LL | | 2 | | ^ expected (), found integer LL | | } LL | | _ => 2 LL | | } | | -- help: consider using a semicolon here | |_____| | expected this to be `()` | = note: expected type `()` found type `{integer} ``` Fix #40799. | ||||
| 2019-09-29 | remove indexed_vec re-export from rustc_data_structures | csmoe | -3/+3 | |
| 2019-09-28 | clean up | Esteban Küber | -2/+2 | |
| 2019-09-28 | review comments | Esteban Küber | -0/+5 | |
| 2019-09-28 | Point at enclosing match when expecting `()` in arm | Esteban Küber | -0/+21 | |
| When encountering code like the following: ```rust fn main() { match 3 { 4 => 1, 3 => { println!("Yep it maches."); 2 } _ => 2 } println!("Bye!") } ``` point at the enclosing `match` expression and suggest ignoring the returned value: ``` error[E0308]: mismatched types --> $DIR/match-needing-semi.rs:8:13 | LL | / match 3 { LL | | 4 => 1, LL | | 3 => { LL | | 2 | | ^ expected (), found integer LL | | } LL | | _ => 2 LL | | } | | -- help: consider using a semicolon here | |_____| | expected this to be `()` | = note: expected type `()` found type `{integer} ``` Fix #40799. | ||||
| 2019-09-28 | Switch over all StableHash impls to new format | Mark Rousskov | -4/+2 | |
| 2019-09-28 | Rollup merge of #64859 - Centril:const-def-here-new-var, r=estebank | Mazdak Farrokhzad | -0/+8 | |
| check_match: improve diagnostics for `let A = 2;` with `const A: i32 = 3` For example: ``` error[E0005]: refutable pattern in local binding: `std::i32::MIN..=1i32` and `3i32..=std::i32::MAX` not covered --> $DIR/const-pat-non-exaustive-let-new-var.rs:2:9 | LL | let A = 3; | ^ | | | interpreted as a constant pattern, not a new variable | help: introduce a variable instead: `a_var` ... LL | const A: i32 = 2; | ----------------- constant defined here ``` r? @estebank cc @matthiaskrgr @rpjohnst | ||||
| 2019-09-28 | Improve diagnostic for `let A = 0;` | Mazdak Farrokhzad | -0/+8 | |
| where `A` is a constant, not a new variable. | ||||
| 2019-09-27 | fix rebase | Esteban Küber | -1/+1 | |
| 2019-09-27 | review comments | Esteban Küber | -3/+3 | |
| 2019-09-27 | Account for tail expressions when pointing at return type | Esteban Küber | -1/+24 | |
| When there's a type mismatch we make an effort to check if it was caused by a function's return type. This logic now makes sure to only point at the return type if the error happens in a tail expression. | ||||
| 2019-09-27 | Turn `walk_parent_nodes` method into an iterator | Esteban Küber | -105/+101 | |
| 2019-09-26 | Rename `ForeignItem.node` to `ForeignItem.kind` | varkor | -3/+3 | |
| 2019-09-26 | Rename `Item.node` to `Item.kind` | varkor | -28/+31 | |
| 2019-09-26 | Rename `Stmt.node` to `Stmt.kind` | varkor | -2/+2 | |
| 2019-09-26 | Rename `Ty.node` to `Ty.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `TraitItem.node` to `TraitItem.kind` | varkor | -11/+11 | |
| 2019-09-26 | Rename `ImplItem.node` to `ImplItem.kind` | varkor | -11/+14 | |
