| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-02-22 | Remove a back compat warning | Oli Scherer | -22/+12 | |
| 2023-02-20 | Remove some unnecessary tcx-passing | Oli Scherer | -7/+4 | |
| 2023-02-20 | Stop passing in values that one can also get from the tcx lazily | Oli Scherer | -7/+1 | |
| 2023-02-20 | Move the resolver into a query | Oli Scherer | -1/+31 | |
| 2023-02-20 | Make `configure_and_expand` "infalllible" by just aborting the compilation ↵ | Oli Scherer | -12/+11 | |
| if it fails instead of bubbling out an error | ||||
| 2023-02-20 | Use tcx queries instead of passing the values to `configure_and_expand`. | Oli Scherer | -5/+6 | |
| 2023-02-20 | Make untracked.cstore lockable so that resolution can still write to it when ↵ | Oli Scherer | -1/+1 | |
| using TyCtxt | ||||
| 2023-02-14 | Remove BoxedResolver | Oli Scherer | -88/+2 | |
| 2023-02-14 | Separate the lifetime of the session and the arena in the resolver | Oli Scherer | -4/+10 | |
| 2023-02-13 | rustc_resolve: Remove `Resolver::clone_output` | Vadim Petrochenkov | -17/+6 | |
| And remove `Clone` impls and `Lrc`s that are no longer necessary | ||||
| 2023-02-09 | Remove `QueryContext`. | Nicholas Nethercote | -21/+5 | |
| There is a type `QueryCtxt`, which impls the trait `QueryContext`. Confusingly, there is another type `QueryContext`. The latter is (like `TyCtxt`) just a pointer to a `GlobalContext`. It's not used much, e.g. its `impl` block has a single method. This commit removes `QueryContext`, replacing its use with direct `GlobalCtxt` use. | ||||
| 2023-02-09 | Simplify `tls::enter_context`. | Nicholas Nethercote | -1/+1 | |
| 2023-02-05 | rustc_interface: remove huge error imports | est31 | -18/+16 | |
| 2023-01-27 | Compute generator saved locals on MIR. | Camille GILLOT | -0/+9 | |
| 2023-01-23 | Make `output_filenames` a real query | Oli Scherer | -19/+13 | |
| 2023-01-23 | Remove another unneeded use of the resolver | Oli Scherer | -17/+16 | |
| 2023-01-20 | Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstrieb | bors | -4/+2 | |
| Remove some `ref` patterns from the compiler Previous PR: https://github.com/rust-lang/rust/pull/105368 r? `@Nilstrieb` | ||||
| 2023-01-17 | Don't call closures immediately, use `try{}` blocks | Maybe Waffle | -4/+2 | |
| 2023-01-16 | Move compiler input and ouput paths into session | Oli Scherer | -8/+7 | |
| 2023-01-16 | Group some commonly passed together values into a struct | Oli Scherer | -12/+5 | |
| 2023-01-16 | Remove redundant `input_path` field from `Config` | Oli Scherer | -1/+1 | |
| 2023-01-16 | remove some arguments that can also be fed at the caller side | Oli Scherer | -27/+3 | |
| 2023-01-13 | Rollup merge of #106678 - Veykril:proc-macro-panic-abort, r=eholk | Matthias Krüger | -1/+7 | |
| Warn when using panic-strategy abort for proc-macro crates See https://github.com/rust-lang/rust/issues/82320, this simply warns for now as that seems like the best step that can be immediately taken (opposed to straight up rejecting or ignoring) | ||||
| 2023-01-13 | Warn when using panic-strategy abort for proc-macro crates | Lukas Wirth | -1/+7 | |
| 2023-01-12 | Feed the `features_query` instead of grabbing it from the session lazily | Oli Scherer | -0/+1 | |
| 2023-01-12 | Remove `output_filenames` field from TyCtxt and feed the query instead | Oli Scherer | -1/+1 | |
| 2023-01-12 | Remove `untracked_crate` field and instead pass it along with the resolver. | Oli Scherer | -2/+3 | |
| 2023-01-12 | Feed `crate_name` query | Oli Scherer | -1/+2 | |
| 2023-01-12 | Feed `resolutions` query instead of it being a thin wrapper around an ↵ | Oli Scherer | -3/+3 | |
| untracked field | ||||
| 2023-01-05 | Fix `uninlined_format_args` for some compiler crates | nils | -3/+3 | |
| Convert all the crates that have had their diagnostic migration completed (except save_analysis because that will be deleted soon and apfloat because of the licensing problem). | ||||
| 2022-12-09 | Fold `Definitions` into the untracked data | Oli Scherer | -2/+0 | |
| 2022-12-09 | Move the untracked cstore and source_span into a struct | Oli Scherer | -0/+2 | |
| 2022-12-07 | Use `Symbol` for the crate name instead of `String`/`str` | Oli Scherer | -19/+21 | |
| 2022-12-06 | Auto merge of #105220 - oli-obk:feeding, r=cjgillot | bors | -6/+17 | |
| feed resolver_for_lowering instead of storing it in a field r? `@cjgillot` opening this as * a discussion for `no_hash` + `feedable` queries. I think we'll want those, but I don't quite understand why they are rejected beyond a double check of the stable hashes for situations where the query is fed but also read from incremental caches. * and a discussion on removing all untracked fields from TyCtxt and setting it up so that they are fed queries instead | ||||
| 2022-12-05 | feed resolver_for_lowering instead of storing it in a field | Oli Scherer | -2/+15 | |
| 2022-12-03 | Remove all but one call site of `prepare_outputs` and fetch the value from ↵ | Oli Scherer | -4/+2 | |
| the TyCtxt instead | ||||
| 2022-12-02 | Remove `-Zno-interleave-lints`. | Nicholas Nethercote | -4/+1 | |
| Because it complicates lint implementation greatly. | ||||
| 2022-10-26 | privacy: Rename "accessibility levels" to "effective visibilities" | Vadim Petrochenkov | -1/+1 | |
| And a couple of other naming tweaks Related to https://github.com/rust-lang/rust/issues/48054 | ||||
| 2022-10-25 | rustc_middle: Rearrange resolver outputs structures slightly | Vadim Petrochenkov | -11/+3 | |
| 2022-10-20 | rustc_hir_typeck: fix paths and partially mv files | lcnr | -0/+1 | |
| 2022-10-10 | Move lifetime resolution module to rustc_hir_analysis. | Camille GILLOT | -1/+0 | |
| 2022-09-27 | rustc_typeck to rustc_hir_analysis | lcnr | -3/+2 | |
| 2022-09-07 | Auto merge of #100801 - Kobzol:track-pgo-profile-paths, r=michaelwoerister | bors | -3/+14 | |
| Track PGO profiles in depinfo This PR makes sure that PGO profiles (`-Cprofile-use` and `-Cprofile-sample-use`) are tracked in depinfo, so that when they change, the compilation session will be invalidated. This approach was discussed on [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/Tracking.20PGO.20profile.20files.20in.20cargo). I tried it locally and it seems that the code is recompiled just with this change, and https://github.com/rust-lang/rust/pull/100413 is not even needed. But it's possible that not everything required is recompiled, so we will probably want to land both changes. Another approach to implement this could be to store the PGO profiles in `sess.parse_sess.file_depinfo` when the session is being created, but then the paths would have to be converted to a string and then to a symbol, which seemed unnecessarily complicated. CC `@michaelwoerister` r? `@Eh2406` | ||||
| 2022-09-05 | Rollup merge of #101142 - nnethercote:improve-hir-stats, r=davidtwco | Dylan DPC | -2/+2 | |
| Improve HIR stats #100398 improve the AST stats collection done by `-Zhir-stats`. This PR does the same for HIR stats collection. r? `@davidtwco` | ||||
| 2022-09-01 | Always import all tracing macros for the entire crate instead of piecemeal ↵ | Oli Scherer | -3/+2 | |
| by module | ||||
| 2022-08-29 | Track PGO profiles in depinfo | Jakub Beránek | -3/+14 | |
| 2022-08-29 | Add prefix to every line of `-Zhir-stats` output. | Nicholas Nethercote | -2/+2 | |
| This is based on `-Zprint-type-sizes` which does the same thing. It makes the output provenance clearer, and helps with post-processing. E.g. if you have `-Zhir-stats` output from numerous compiler invocations you can now easily extract the pre-expansion stats separately from the post-expansion stats. | ||||
| 2022-08-25 | Rollup merge of #100808 - SkiFire13:migrate_diagnostics_rustc_interface, ↵ | Yuki Okushi | -51/+20 | |
| r=davidtwco Migrate `rustc_interface` diagnostics ``@rustbot`` label +A-translation r? rust-lang/diagnostics cc #100717 | ||||
| 2022-08-23 | Use par_body_owners for liveness | Seo Sanghyeon | -3/+3 | |
| 2022-08-22 | Remove use of DiagnosticArgFromDisplay | Giacomo Stevanato | -14/+8 | |
