rust/compiler/rustc_middle/src
Matthias Krüger 9d39b59862
Rollup merge of #129395 - fmease:pp-dyn-w-gat, r=compiler-errors
Pretty-print own args of existential projections (dyn-Trait w/ GAT constraints)

Previously we would just drop them. This bug isn't that significant as it can only be triggered by user code that constrains GATs inside trait object types which is currently gated under the interim feature `generic_associated_types_extended` (whose future is questionable) or on stable if the GATs are 'disabled' in dyn-Trait via `where Self: Sized` (in which case the assoc type bindings get ignored anyway (and trigger the warn-by-default lint `unused_associated_type_bounds`)), so yeah.

Affects diagnostic output and output of `std::any::type_name{_of_val}`.
2024-08-22 08:17:23 +02:00
..
dep_graph Reformat use declarations. 2024-07-29 08:26:52 +10:00
hir Auto merge of #128792 - compiler-errors:foreign-sig, r=spastorino 2024-08-17 19:35:01 +00:00
hooks Reformat use declarations. 2024-07-29 08:26:52 +10:00
infer Reformat use declarations. 2024-07-29 08:26:52 +10:00
middle Hide implicit target features from diagnostics when possible 2024-08-07 00:43:52 -04:00
mir fix comment on PlaceMention semantics 2024-08-21 15:52:06 +02:00
query Use cnum for extern crate data 2024-08-17 12:50:18 -04:00
thir rename AddressOf -> RawBorrow inside the compiler 2024-08-18 19:46:53 +02:00
traits Reformat use declarations. 2024-07-29 08:26:52 +10:00
ty Rollup merge of #129395 - fmease:pp-dyn-w-gat, r=compiler-errors 2024-08-22 08:17:23 +02:00
util Reformat use declarations. 2024-07-29 08:26:52 +10:00
arena.rs do not use the global solver cache for proof trees 2024-08-12 10:33:04 +02:00
error.rs Use bool in favor of Option<()> for diagnostics 2024-08-21 01:31:11 -04:00
lib.rs Update std and compiler 2024-08-10 12:07:17 +02:00
lint.rs Only suggest #[allow] for --warn and --deny lint level flags 2024-08-08 13:09:58 +00:00
macros.rs lift_to_tcx -> lift_to_interner 2024-07-17 10:46:10 -04:00
metadata.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs rename AddressOf -> RawBorrow inside the compiler 2024-08-18 19:46:53 +02:00
values.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00