| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-09-15 | Only enable the let_else feature on bootstrap | est31 | -1/+1 | |
| On later stages, the feature is already stable. Result of running: rg -l "feature.let_else" compiler/ src/librustdoc/ library/ | xargs sed -s -i "s#\\[feature.let_else#\\[cfg_attr\\(bootstrap, feature\\(let_else\\)#" | ||||
| 2022-09-09 | RPITIT placeholder items | Michael Goulet | -0/+1 | |
| 2022-09-06 | Auto merge of #101241 - camsteffen:refactor-binding-annotations, r=cjgillot | bors | -13/+2 | |
| `BindingAnnotation` refactor * `ast::BindingMode` is deleted and replaced with `hir::BindingAnnotation` (which is moved to `ast`) * `BindingAnnotation` is changed from an enum to a tuple struct e.g. `BindingAnnotation(ByRef::No, Mutability::Mut)` * Associated constants added for convenience `BindingAnnotation::{NONE, REF, MUT, REF_MUT}` One goal is to make it more clear that `BindingAnnotation` merely represents syntax `ref mut` and not the actual binding mode. This was especially confusing since we had `ast::BindingMode`->`hir::BindingAnnotation`->`thir::BindingMode`. I wish there were more symmetry between `ByRef` and `Mutability` (variant) naming (maybe `Mutable::Yes`?), and I also don't love how long the name `BindingAnnotation` is, but this seems like the best compromise. Ideas welcome. | ||||
| 2022-09-05 | Make `hir::PathSegment::hir_id` non-optional. | Nicholas Nethercote | -1/+1 | |
| 2022-09-05 | Make `hir::PathSegment::res` non-optional. | Nicholas Nethercote | -4/+5 | |
| 2022-09-02 | Refactor and re-use BindingAnnotation | Cameron Steffen | -13/+2 | |
| 2022-09-01 | Always import all tracing macros for the entire crate instead of piecemeal ↵ | Oli Scherer | -2/+3 | |
| by module | ||||
| 2022-08-24 | save_analysis: Migrate diagnostics | Wonchul Lee | -1/+5 | |
| 2022-08-01 | Remove DefId from AssocItemContainer. | Camille GILLOT | -2/+2 | |
| 2022-08-01 | Store associated item defaultness in impl_defaultness. | Camille GILLOT | -1/+1 | |
| 2022-07-01 | Factor out hir::Node::Binding | Cameron Steffen | -3/+3 | |
| 2022-06-03 | Fully stabilize NLL | Jack Huey | -1/+0 | |
| 2022-05-02 | rustc: Panic by default in `DefIdTree::parent` | Vadim Petrochenkov | -1/+1 | |
| 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-23 | Stop pretty-printing HIR visibility. | Camille GILLOT | -3/+1 | |
| 2022-04-23 | Stop visiting visibility. | Camille GILLOT | -6/+0 | |
| 2022-03-31 | remove find_use_placement | Fausto | -1/+1 | |
| 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-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-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 | -12/+6 | |
| 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 | -2/+2 | |
| 2022-02-02 | More let_else adoptions | est31 | -0/+1 | |
| 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-19 | Correctly handle starts in block doc comments | Guillaume Gomez | -2/+2 | |
| 2022-01-16 | Replace NestedVisitorMap with NestedFilter | Cameron Steffen | -4/+4 | |
| 2022-01-07 | Add `trait_item_def_id` to `AssocItem` | Matthew Jasper | -7/+5 | |
| This allows avoiding some lookups by name | ||||
| 2021-12-19 | Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obk | bors | -1/+1 | |
| 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 | 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-11-07 | Give inline const separate DefKind | Gary Guo | -0/+1 | |
| 2021-11-06 | Improve terminology around "after typeck" | pierwill | -1/+1 | |
| 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-03 | Move rustc_middle::middle::cstore to rustc_session. | Camille GILLOT | -1/+1 | |
| 2021-09-29 | Avoid more invocations of hir_crate query. | Camille GILLOT | -2/+2 | |
| 2021-09-08 | Bump stage0 compiler to 1.56 | Mark Rousskov | -1/+0 | |
| 2021-08-25 | Use if-let guards in the codebase | Léo Lanteri Thauvin | -44/+45 | |
| 2021-07-10 | rustc_span: Revert addition of `proc_macro` field to `ExpnKind::Macro` | Vadim Petrochenkov | -1/+1 | |
| The flag has a vague meaning and is used for a single diagnostic change that is low benefit and appears only under `-Z macro_backtrace`. | ||||
| 2021-07-06 | Revert "Revert "Merge CrateDisambiguator into StableCrateId"" | bjorn3 | -1/+4 | |
| This reverts commit 8176ab8bc18fdd7d3c2cf7f720c51166364c33a3. | ||||
| 2021-07-01 | Rename all_crate_nums query to crates and remove useless wrapper | bjorn3 | -2/+2 | |
| 2021-06-07 | Revert "Merge CrateDisambiguator into StableCrateId" | bjorn3 | -4/+1 | |
| This reverts commit d0ec85d3fb6d322496cb8f4bc1c21e19f23284ad. | ||||
| 2021-06-04 | Remove `doc(include)` | Joshua Nelson | -14/+0 | |
| 2021-05-30 | Merge CrateDisambiguator into StableCrateId | bjorn3 | -1/+4 | |
| 2021-05-24 | remove cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 2021-05-17 | Auto merge of #85178 - cjgillot:local-crate, r=oli-obk | bors | -2/+2 | |
| Remove CrateNum parameter for queries that only work on local crate The pervasive `CrateNum` parameter is a remnant of the multi-crate rustc idea. Using `()` as query key in those cases avoids having to worry about the validity of the query key. | ||||
| 2021-05-12 | Use () for codegen queries. | Camille GILLOT | -1/+1 | |
| 2021-05-12 | Use () for privacy. | Camille GILLOT | -1/+1 | |
