rust/compiler/rustc_middle/src
Matthias Krüger 71009058b0
Rollup merge of #141936 - WaffleLapkin:report-in-deps-decoupling, r=oli-obk
Decouple "reporting in deps" from `FutureIncompatibilityReason`

The reason should just be it -- the reason. It never felt right to me that it was also responsible for whatever we include the warning in cargo's reports.

It gets especially unruly if you want to add non-`FutureReleaseError*` warnings which are included in the reports.

I just added a field to `FutureIncompatibleInfo` to control whatever the diagnostic is included in the cargo's reports.
2025-06-03 11:33:36 +02:00
..
dep_graph Reformat parameters to macros used by with-all-queries 2025-04-29 20:48:51 +10:00
hir Reorder fields in hir::ItemKind variants. 2025-05-30 02:23:20 +10:00
hooks Pretty print pattern type values with transmute if they don't satisfy their pattern 2025-02-05 14:56:41 +00:00
infer yeet CanonicalVarInfo 2025-05-23 12:10:53 +00:00
middle Cleanup CodegenFnAttrFlags 2025-05-24 20:31:37 +02:00
mir Structurally normalize types as needed in projection_ty_core 2025-05-29 11:16:44 +00:00
query Optionally don't steal the THIR 2025-06-01 19:14:13 +02:00
thir Add {ast,hir,thir}::PatKind::Missing variants. 2025-03-28 09:18:57 +11:00
traits Remove weak alias terminology 2025-04-24 11:59:20 +01:00
ty Auto merge of #141731 - compiler-errors:tweak-fast-path-trait, r=lcnr 2025-06-01 10:59:38 +00:00
util Remove attribute #[rustc_error] 2025-03-30 01:32:21 +03:00
arena.rs Initial support for dynamically linked crates 2025-05-04 22:03:15 +03:00
error.rs Teach structured errors to display short Ty 2025-02-25 16:56:03 +00:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
lint.rs decouple "reporting in deps" from future incompatibility reason 2025-06-03 10:49:22 +02:00
macros.rs Fold visit into ty 2025-03-15 06:34:36 +00:00
metadata.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs Add useful comments on ExprKind::If variants. 2025-05-02 15:53:39 +10:00
values.rs Use search_for_cycle_permutation to look for variances_of 2025-04-27 09:38:18 +02:00