| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-07-12 | Add an indirection for closures in `hir::ExprKind` | Maybe Waffle | -1/+1 | |
| This helps bring `hir::Expr` size down, `Closure` was the biggest variant, especially after `for<>` additions. | ||||
| 2022-07-11 | move else block into the `Local` struct | Ding Xiang Fei | -2/+2 | |
| 2022-07-11 | lower let-else in MIR instead | Ding Xiang Fei | -10/+4 | |
| 2022-07-01 | Factor out hir::Node::Binding | Cameron Steffen | -3/+3 | |
| 2022-06-12 | Make `ExprKind::Closure` a struct variant. | Camille GILLOT | -3/+3 | |
| 2022-06-03 | Fully stabilize NLL | Jack Huey | -1/+0 | |
| 2022-05-12 | [save-analysis] Reference the variant not enum at struct-literal construction. | Kelsey Gilbert | -3/+8 | |
| Closes #96985 | ||||
| 2022-05-02 | rustc: Panic by default in `DefIdTree::parent` | Vadim Petrochenkov | -10/+7 | |
| Only crate root def-ids don't have a parent, and in majority of cases the argument of `DefIdTree::parent` cannot be a crate root. So we now panic by default in `parent` and introduce a new non-panicing function `opt_parent` for cases where the argument can be a crate root. Same applies to `local_parent`/`opt_local_parent`. | ||||
| 2022-04-30 | Store all generic bounds as where predicates. | Camille GILLOT | -27/+0 | |
| 2022-04-30 | Inline WhereClause into Generics. | Camille GILLOT | -1/+1 | |
| 2022-04-23 | Drop vis in ImplItem. | Camille GILLOT | -18/+2 | |
| 2022-04-23 | Drop vis in FieldDef. | Camille GILLOT | -14/+18 | |
| 2022-04-23 | Stop pretty-printing HIR visibility. | Camille GILLOT | -4/+2 | |
| 2022-04-23 | Stop visiting visibility. | Camille GILLOT | -6/+0 | |
| 2022-03-31 | remove find_use_placement | Fausto | -3/+3 | |
| A more robust solution to finding where to place use suggestions was added. The algorithm uses the AST to find the span for the suggestion so we pass this span down to the HIR during lowering and use it. Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-03-31 | Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errors | Dylan DPC | -1/+1 | |
| Spellchecking compiler comments This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues. | ||||
| 2022-03-30 | Spellchecking compiler comments | Yuri Astrakhan | -1/+1 | |
| This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues. | ||||
| 2022-03-29 | Remember mutability in `DefKind::Static`. | Camille GILLOT | -1/+1 | |
| This allows to compute the `BodyOwnerKind` from `DefKind` only, and removes a direct dependency of some MIR queries onto HIR. As a side effect, it also simplifies metadata, since we don't need 4 flavours of `EntryKind::*Static` any more. | ||||
| 2022-03-11 | Improve `AdtDef` interning. | Nicholas Nethercote | -1/+1 | |
| This commit makes `AdtDef` use `Interned`. Much the commit is tedious changes to introduce getter functions. The interesting changes are in `compiler/rustc_middle/src/ty/adt.rs`. | ||||
| 2022-02-25 | Switch bootstrap cfgs | Mark Rousskov | -1/+1 | |
| 2022-02-24 | resolve: Fix incorrect results of `opt_def_kind` query for some built-in macros | Vadim Petrochenkov | -1/+1 | |
| Previously it always returned `MacroKind::Bang` while some of those macros are actually attributes and derives | ||||
| 2022-02-20 | Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obk | bors | -1/+1 | |
| Move ty::print methods to Drop-based scope guards Primary goal is reducing codegen of the TLS access for each closure, which shaves ~3 seconds of bootstrap time over rustc as a whole. | ||||
| 2022-02-19 | Adopt let else in more places | est31 | -15/+8 | |
| 2022-02-16 | Move ty::print methods to Drop-based scope guards | Mark Rousskov | -1/+1 | |
| 2022-02-12 | change to a struct variant | Ellen | -4/+4 | |
| 2022-02-10 | Remove further usage of `&hir::Map` | Frank Steffahn | -4/+4 | |
| 2022-02-02 | More let_else adoptions | est31 | -3/+3 | |
| 2022-02-01 | add a rustc::query_stability lint | lcnr | -0/+1 | |
| 2022-01-31 | Rollup merge of #90277 - pierwill:fix-70258-inference-terms, r=jackh726 | Matthias Krüger | -1/+1 | |
| Improve terminology around "after typeck" Closes #70258. | ||||
| 2022-01-21 | Remove a span from hir::ExprKind::MethodCall | Cameron Steffen | -3/+1 | |
| 2022-01-19 | Correctly handle starts in block doc comments | Guillaume Gomez | -2/+2 | |
| 2022-01-16 | Replace NestedVisitorMap with NestedFilter | Cameron Steffen | -8/+8 | |
| 2022-01-07 | Add `trait_item_def_id` to `AssocItem` | Matthew Jasper | -7/+5 | |
| This allows avoiding some lookups by name | ||||
| 2022-01-03 | review | lcnr | -5/+1 | |
| 2021-12-23 | implement `generic_arg_infer` for array lengths | lcnr | -10/+26 | |
| 2021-12-19 | Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obk | bors | -2/+2 | |
| Remove `SymbolStr` This was originally proposed in https://github.com/rust-lang/rust/pull/74554#discussion_r466203544. As well as removing the icky `SymbolStr` type, it allows the removal of a lot of `&` and `*` occurrences. Best reviewed one commit at a time. r? `@oli-obk` | ||||
| 2021-12-15 | Rollup merge of #91880 - matthiaskrgr:clippy_perf_dec, r=jyn514 | Matthias Krüger | -1/+1 | |
| fix clippy::single_char_pattern perf findings | ||||
| 2021-12-15 | Remove unnecessary sigils around `Ident::as_str()` calls. | Nicholas Nethercote | -1/+1 | |
| 2021-12-15 | Remove unnecessary sigils around `Symbol::as_str()` calls. | Nicholas Nethercote | -1/+1 | |
| 2021-12-14 | fix clippy::single_char_pattern perf findings | Matthias Krüger | -1/+1 | |
| 2021-12-13 | Keep info on pre-desugaring expression for better "incorrect `.await`" ↵ | Esteban Kuber | -1/+1 | |
| suggestion Keep the `HirId` of `.await`ed expressions so in the case of a `fn` call on on a sync `fn`, we can suggest maybe turning it into an `async fn`. | ||||
| 2021-11-07 | Give inline const separate DefKind | Gary Guo | -0/+1 | |
| 2021-11-06 | Improve terminology around "after typeck" | pierwill | -1/+1 | |
| 2021-11-04 | clippy::perf fixes | Matthias Krüger | -2/+2 | |
| 2021-10-28 | Revert "Add rustc lint, warning when iterating over hashmaps" | Mark Rousskov | -1/+0 | |
| 2021-10-15 | allow `potential_query_instability` everywhere | lcnr | -0/+1 | |
| 2021-10-05 | Auto merge of #89266 - cjgillot:session-ich, r=michaelwoerister | bors | -1/+1 | |
| Move ICH to rustc_query_system Based on https://github.com/rust-lang/rust/pull/89183 The StableHashingContext does not need to be in rustc_middle. This PR moves it to rustc_query_system. This will avoid a dependency between rustc_ast_lowering and rustc_middle in https://github.com/rust-lang/rust/pull/89124. | ||||
| 2021-10-03 | Move rustc_middle::middle::cstore to rustc_session. | Camille GILLOT | -1/+1 | |
| 2021-10-02 | Consistently use 'supertrait'. | Bruce Mitchener | -1/+1 | |
| A subset of places referred to 'super-trait', so this changes them to all use 'supertrait'. This matches 'supertype' and some other usages. An exception is 'auto-trait' which is consistently used in that manner. | ||||
| 2021-09-29 | Avoid more invocations of hir_crate query. | Camille GILLOT | -7/+7 | |
