about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-22 08:17:23 +0200
committerGitHub <noreply@github.com>2024-08-22 08:17:23 +0200
commit9d39b59862694cd3f0be23d216338d4155a1aa4f (patch)
tree94c1ab1f54f2559f992d25afc79d86ab4a1a56ed /compiler/rustc_pattern_analysis/src
parent8b3ca7918c162c18d667d2b6d2c2617dfb9ad8b2 (diff)
parent080c2ca2dcdf38f9337f0aedaa166ec6fbebd681 (diff)
downloadrust-9d39b59862694cd3f0be23d216338d4155a1aa4f.tar.gz
rust-9d39b59862694cd3f0be23d216338d4155a1aa4f.zip
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}`.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions