rust/compiler/rustc_middle/src
Matthias Krüger 88493fca13
Rollup merge of #119763 - nnethercote:cleanup-Diagnostic, r=oli-obk
Cleanup things in and around `Diagnostic`

These changes all arose when I was looking closely at how to simplify `DiagCtxtInner::emit_diagnostic`.

r? `@compiler-errors`
2024-01-11 03:02:41 +01:00
..
dep_graph Reduce exposure of things. 2023-11-16 16:49:22 +11:00
hir Unify SourceFile::name_hash and StableSourceFileId 2023-12-19 22:34:26 +01:00
hooks Rename hook. 2023-11-01 16:49:18 +00:00
infer NFC: do not clone types that are copy 2023-12-15 23:19:51 +01:00
middle Make iteration order of region_scope_tree query stable 2024-01-04 13:48:54 +01:00
mir Add DiagCtxt::delayed_bug. 2024-01-10 07:33:07 +11:00
query Add DiagCtxt::delayed_bug. 2024-01-10 07:33:07 +11:00
thir Remove thir::Guard 2024-01-05 10:56:59 +00:00
traits Track HirId instead of Span in ObligationCauseCode::SizedArgumentType 2024-01-03 18:59:42 +00:00
ty Rollup merge of #118915 - compiler-errors:alias-nits, r=lcnr 2024-01-11 03:02:39 +01:00
util Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
arena.rs Make iteration order of collect_return_position_impl_trait_in_trait_tys query stable 2024-01-04 13:48:57 +01:00
error.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
lib.rs update cfg(bootstrap)s 2023-12-22 11:14:11 +01:00
lint.rs Change how force-warn lint diagnostics are recorded. 2024-01-11 07:56:17 +11:00
macros.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Don't populate yield and resume types after the fact 2024-01-06 18:03:01 +00:00
values.rs Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00