| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-14 | rustc_mir_build: Enforce `rustc::potential_query_instability` lint | Martin Nordholts | -1/+0 | |
| Stop allowing `rustc::potential_query_instability` on all of `rustc_mir_build` and instead allow it on a case-by-case basis if it is safe to do so. In this crate there was no instance of the lint remaining. | ||||
| 2023-11-26 | Use `rustc_fluent_macro::fluent_messages!` directly. | Nicholas Nethercote | -3/+1 | |
| Currently we always do this: ``` use rustc_fluent_macro::fluent_messages; ... fluent_messages! { "./example.ftl" } ``` But there is no need, we can just do this everywhere: ``` rustc_fluent_macro::fluent_messages! { "./example.ftl" } ``` which is shorter. | ||||
| 2023-11-26 | Avoid need for `{D,Subd}iagnosticMessage` imports. | Nicholas Nethercote | -1/+0 | |
| The `fluent_messages!` macro produces uses of `crate::{D,Subd}iagnosticMessage`, which means that every crate using the macro must have this import: ``` use rustc_errors::{DiagnosticMessage, SubdiagnosticMessage}; ``` This commit changes the macro to instead use `rustc_errors::{D,Subd}iagnosticMessage`, which avoids the need for the imports. | ||||
| 2023-10-25 | Make THIR unused_unsafe lint consistent with MIR | Matthew Jasper | -1/+1 | |
| Updates THIR behavior to match the changes from #93678 | ||||
| 2023-07-22 | Make `unconditional_recursion` warning detect recursive drops | Martin Nordholts | -1/+1 | |
| 2023-06-19 | Make closure_saved_names_of_captured_variables a query. | Camille GILLOT | -0/+2 | |
| 2023-05-31 | Remove `lit_to_mir_constant` query | Oli Scherer | -1/+0 | |
| 2023-05-15 | Move expansion of query macros in rustc_middle to rustc_middle::query | John Kåre Alsaker | -1/+1 | |
| 2023-04-20 | Remove WithOptconstParam. | Camille GILLOT | -1/+0 | |
| 2023-04-18 | Add `rustc_fluent_macro` to decouple fluent from `rustc_macros` | Nilstrieb | -1/+1 | |
| Fluent, with all the icu4x it brings in, takes quite some time to compile. `fluent_messages!` is only needed in further downstream rustc crates, but is blocking more upstream crates like `rustc_index`. By splitting it out, we allow `rustc_macros` to be compiled earlier, which speeds up `x check compiler` by about 5 seconds (and even more after the needless dependency on `serde_json` is removed from `rustc_data_structures`). | ||||
| 2023-03-29 | Stabilize a portion of 'once_cell' | Trevor Gross | -1/+0 | |
| Move items not part of this stabilization to 'lazy_cell' or 'once_cell_try' | ||||
| 2023-03-11 | Simplify message paths | est31 | -1/+1 | |
| This makes it easier to open the messages file while developing on features. The commit was the result of automatted changes: for p in compiler/rustc_*; do mv $p/locales/en-US.ftl $p/messages.ftl; rmdir $p/locales; done for p in compiler/rustc_*; do sed -i "s#\.\./locales/en-US.ftl#../messages.ftl#" $p/src/lib.rs; done | ||||
| 2023-02-26 | Move THIR printing to rustc_mir_build. | Camille GILLOT | -2/+2 | |
| 2023-02-22 | errors: generate typed identifiers in each crate | David Wood | -0/+5 | |
| Instead of loading the Fluent resources for every crate in `rustc_error_messages`, each crate generates typed identifiers for its own diagnostics and creates a static which are pulled together in the `rustc_driver` crate and provided to the diagnostic emitter. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2023-01-26 | previous thir unpretty output through thir-flat | b-naber | -0/+1 | |
| 2023-01-18 | Also remove `#![feature(control_flow_enum)]` where possible | Scott McMurray | -1/+0 | |
| 2023-01-11 | Migrate pattern matching | mejrs | -0/+1 | |
| 2022-12-17 | Migrate "function cannot return without recursing" diagnostic | TheOddGarlic | -0/+1 | |
| 2022-11-21 | Some cleanup around trait_method lookup | Oli Scherer | -0/+1 | |
| 2022-10-09 | Skip chained OpaqueCast when building captures. | Camille GILLOT | -0/+1 | |
| 2022-09-26 | remove cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 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-08-29 | Revert let_chains stabilization | Nilstrieb | -0/+1 | |
| This reverts commit 326646074940222d602f3683d0559088690830f4. This is the revert against master, the beta revert was already done in #100538. | ||||
| 2022-08-12 | Adjust cfgs | Mark Rousskov | -1/+0 | |
| 2022-07-16 | Stabilize `let_chains` | Caio | -1/+1 | |
| 2022-05-20 | Remove `crate` visibility usage in compiler | Jacob Pratt | -1/+0 | |
| 2022-05-16 | use GlobalId in eval_to_valtree query and introduce query for ↵ | b-naber | -0/+1 | |
| valtree_to_const_val | ||||
| 2022-05-05 | Rollup merge of #96628 - joshtriplett:stabilize-then-some, r=m-ou-se | Yuki Okushi | -1/+0 | |
| Stabilize `bool::then_some` FCP completed in https://github.com/rust-lang/rust/issues/80967 | ||||
| 2022-05-04 | Stabilize `bool::then_some` | Josh Triplett | -1/+0 | |
| 2022-05-04 | Generate an intermediate temporary for `Drop` constants. | Oli Scherer | -0/+1 | |
| To limit the fallout from this, don't do this for the last (or only) operand in an rvalue. | ||||
| 2022-02-28 | 6 - Make more use of `let_chains` | Caio | -3/+4 | |
| Continuation of #94376. cc #53667 | ||||
| 2022-02-25 | Switch bootstrap cfgs | Mark Rousskov | -1/+1 | |
| 2022-02-01 | add a rustc::query_stability lint | lcnr | -0/+1 | |
| 2021-12-14 | Stabilize iter::zip. | PFPoitras | -1/+0 | |
| 2021-10-28 | Revert "Add rustc lint, warning when iterating over hashmaps" | Mark Rousskov | -1/+0 | |
| 2021-10-24 | Rollup merge of #89558 - lcnr:query-stable-lint, r=estebank | Matthias Krüger | -0/+1 | |
| Add rustc lint, warning when iterating over hashmaps r? rust-lang/wg-incr-comp | ||||
| 2021-10-16 | Adopt let_else across the compiler | est31 | -0/+1 | |
| This performs a substitution of code following the pattern: let <id> = if let <pat> = ... { identity } else { ... : ! }; To simplify it to: let <pat> = ... { identity } else { ... : ! }; By adopting the let_else feature. | ||||
| 2021-10-15 | allow `potential_query_instability` everywhere | lcnr | -0/+1 | |
| 2021-08-18 | Remove box syntax from rustc_mir_build | est31 | -1/+0 | |
| 2021-07-24 | Support -Z unpretty=thir-tree again | Smitty | -0/+1 | |
| 2021-05-31 | Remove unused feature gates | bjorn3 | -3/+0 | |
| 2021-05-26 | Specialize implementations | Jacob Pratt | -0/+2 | |
| Implementations in stdlib are now optimized as they were before. | ||||
| 2021-05-25 | Auto merge of #84985 - pietroalbini:bootstrap-1.54, r=Mark-Simulacrum | bors | -1/+0 | |
| Bump bootstrap compiler to beta 1.53.0 This PR bumps the bootstrap compiler to version 1.53.0 beta, as part of our usual release process (this was supposed to be Wednesday's step, but creating the beta release took longer than expected). The PR also includes the "Bootstrap: skip rustdoc fingerprint for building docs" commit, see the reasoning [on Zulip](https://zulip-archive.rust-lang.org/241545trelease/88450153betabootstrap.html). r? `@Mark-Simulacrum` | ||||
| 2021-05-24 | remove cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 2021-05-22 | Make THIR building a stealable query | LeSeulArtichaut | -0/+1 | |
| 2021-05-11 | Introduce the (WIP) THIR unsafety checker | LeSeulArtichaut | -0/+3 | |
| 2021-04-18 | fix feature use in rustc libs | Ralf Jung | -1/+0 | |
| 2021-03-26 | Use iter::zip in compiler/ | Josh Stone | -0/+1 | |
| 2021-03-19 | stabilize or_patterns | mark | -1/+1 | |
| 2021-03-11 | Make THIR data structures public | LeSeulArtichaut | -1/+1 | |
