| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
| 2021-09-20 | Migrate to 2021 | Mark Rousskov | -1/+1 | |
| 2021-09-08 | Bump stage0 compiler to 1.56 | Mark Rousskov | -1/+0 | |
| 2021-09-07 | Don't move ?Trait bounds to param bounds if they're in where clauses | jackh726 | -1/+0 | |
| 2021-09-02 | Rename walk_crate. | Camille GILLOT | -1/+1 | |
| 2021-09-02 | Stop using walk_crate. | Camille GILLOT | -1/+1 | |
| 2021-08-28 | Treat macros as HIR items | inquisitivecrystal | -0/+8 | |
| 2021-08-25 | Use if-let guards in the codebase | Léo Lanteri Thauvin | -44/+45 | |
| 2021-08-15 | Include (potentially remapped) working dir in crate hash | Aaron Hill | -1/+2 | |
| Fixes #85019 A `SourceFile` created during compilation may have a relative path (e.g. if rustc itself is invoked with a relative path). When we write out crate metadata, we convert all relative paths to absolute paths using the current working direction. However, the working directory is not included in the crate hash. This means that the crate metadata can change while the crate hash remains the same. Among other problems, this can cause a fingerprint mismatch ICE, since incremental compilation uses the crate metadata hash to determine if a foreign query is green. This commit moves the field holding the working directory from `Session` to `Options`, including it as part of the crate hash. | ||||
| 2021-08-04 | Auto merge of #87568 - petrochenkov:localevel, r=cjgillot | bors | -24/+28 | |
| rustc: Replace `HirId`s with `LocalDefId`s in `AccessLevels` tables and passes using those tables - primarily privacy checking, stability checking and dead code checking. All these passes work with definitions rather than with arbitrary HIR nodes. r? `@cjgillot` cc `@lambinoo` (#87487) | ||||
| 2021-08-02 | Auto merge of #87535 - lf-:authors, r=Mark-Simulacrum | bors | -1/+0 | |
| rfc3052 followup: Remove authors field from Cargo manifests Since RFC 3052 soft deprecated the authors field, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information for contributors, we may as well remove it from crates in this repo. | ||||
| 2021-07-31 | rustc: Replace `HirId`s with `LocalDefId`s in `AccessLevels` tables | Vadim Petrochenkov | -24/+28 | |
| and passes using them - primarily privacy checking, stability checking and dead code checking. WIP | ||||
| 2021-07-30 | Do not discard `?Sized` type params and suggest their removal | Esteban Küber | -0/+1 | |
| 2021-07-29 | rfc3052: Remove authors field from Cargo manifests | Jade | -1/+0 | |
| Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo. | ||||
| 2021-07-25 | Introduce OwnerNode::Crate. | Camille GILLOT | -4/+5 | |
| 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 | -7/+5 | |
| 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 | -5/+7 | |
| This reverts commit d0ec85d3fb6d322496cb8f4bc1c21e19f23284ad. | ||||
| 2021-06-04 | Remove `doc(include)` | Joshua Nelson | -14/+0 | |
