rust/compiler/rustc_session/src
bors dd104ef163 Auto merge of #126623 - oli-obk:do_not_count_errors, r=davidtwco
Replace all `&DiagCtxt` with a `DiagCtxtHandle<'_>` wrapper type

r? `@davidtwco`

This paves the way for tracking more state (e.g. error tainting) in the diagnostic context handle

Basically I will add a field to the `DiagCtxtHandle` that refers back to the `InferCtxt`'s (and others) `Option<ErrorHandled>`, allowing us to immediately taint these contexts when emitting an error and not needing manual tainting anymore (which is easy to forget and we don't do in general anyway)
2024-06-18 16:49:19 +00:00
..
config Add rustfmt cfg to well known cfgs list 2024-05-05 14:30:35 +02:00
code_stats.rs -Zprint-type-sizes: print the types of awaitees and unnamed coroutine locals. 2024-03-22 18:07:15 -07:00
config.rs coverage: Add debugging flag -Zcoverage-options=no-mir-spans 2024-06-17 21:16:15 +10:00
cstore.rs Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
errors.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
filesearch.rs Improve naming and path operations in crate loader 2024-06-06 21:53:29 +02:00
lib.rs Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
options.rs coverage: Add debugging flag -Zcoverage-options=no-mir-spans 2024-06-17 21:16:15 +10:00
output.rs Make incremental sessions identity no longer depend on the crate names provided by source code 2024-03-13 16:40:02 +01:00
parse.rs Remove redundant argument from subdiagnostic method 2024-06-18 15:42:11 +00:00
search_paths.rs Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
session.rs Auto merge of #126623 - oli-obk:do_not_count_errors, r=davidtwco 2024-06-18 16:49:19 +00:00
utils.rs Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
version.rs Implement IntoDiagArg for RustcVersion 2024-05-21 20:11:42 +00:00