rust/compiler/rustc_middle/src
bors f540a25745 Auto merge of #108493 - cjgillot:thir-print, r=compiler-errors
Move THIR printing to rustc_mir_build.

https://github.com/rust-lang/rust/pull/107451 increased the compilation time of `rustc_middle` by 10% = 3s.

As https://github.com/rust-lang/rust/pull/107006 adds quite a lot of code to rustc_middle, I suspect it to be the cause.

This PR moves the THIR printing code to `rustc_mir_build`, where the query provider lives, in order to benefit from higher parallelism when compiling rustc.
2023-02-27 15:07:47 +00:00
..
dep_graph Pass DepContext and QueryContext by value when practical 2023-02-14 17:21:18 +01:00
hir Simplify diagnostic_items. 2023-02-26 10:06:03 +00:00
infer Rename many interner functions. 2023-02-24 07:32:24 +11:00
middle diagnostics: if AssocFn has self argument, describe as method 2023-02-22 08:40:33 -07:00
mir Use List::empty() instead of mk_substs(&[]). 2023-02-24 07:33:02 +11:00
query Unify validity checks into a single query 2023-02-23 18:42:36 +00:00
thir Move THIR printing to rustc_mir_build. 2023-02-26 14:31:15 +00:00
traits Rename many interner functions. 2023-02-24 07:32:24 +11:00
ty Rollup merge of #108364 - Nilstrieb:validity-checks-refactor, r=compiler-errors 2023-02-27 06:11:52 +01:00
util Add some docs to bug, span_bug and delay_span_bug 2022-12-30 16:47:56 +01:00
arena.rs Move the resolver into a query 2023-02-20 15:28:59 +00:00
error.rs Match crate and slug names 2022-11-21 15:24:50 +01:00
lib.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
lint.rs create helper function for rustc_lint_defs::Level and remove it's duplicated code r=ozkanonur 2023-01-10 10:56:17 +03:00
macros.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
metadata.rs rustc: Parameterize ty::Visibility over used ID 2022-09-07 13:35:41 +04:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Move THIR printing to rustc_mir_build. 2023-02-26 14:31:15 +00:00
values.rs Rename ty_error_with_guaranteed to ty_error, ty_error to ty_error_misc 2023-02-22 22:23:45 +00:00