summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-23 03:31:17 +0000
committerbors <bors@rust-lang.org>2024-10-23 03:31:17 +0000
commite1f306899514ea80abc1d1c9f6a57762afb304a3 (patch)
tree67bb26d8de7048de61241932e4bf90f23951ddbd /compiler/rustc_pattern_analysis
parentb13176595d8a9fd27334747080764a53a18f4c24 (diff)
parentfebb3f7c8814432f5905ecf31137a804c8a5cb1a (diff)
downloadrust-e1f306899514ea80abc1d1c9f6a57762afb304a3.tar.gz
rust-e1f306899514ea80abc1d1c9f6a57762afb304a3.zip
Auto merge of #131982 - compiler-errors:split-trait-bound-modifiers, r=fmease
Represent `hir::TraitBoundModifiers` as distinct parts in HIR

Stop squashing distinct `polarity` and `constness` into a single `hir::TraitBoundModifier`.

This PR doesn't attempt to handle all the corner cases correctly, since the old code certainly did not either; but it should be much easier for, e.g., rustc devs working on diagnostics, or clippy devs, to actually handle constness and polarity correctly.

try-job: x86_64-gnu-stable
Diffstat (limited to 'compiler/rustc_pattern_analysis')
0 files changed, 0 insertions, 0 deletions