about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/diagnostics.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-10-04 00:02:26 +0000
committerbors <bors@rust-lang.org>2025-10-04 00:02:26 +0000
commit7950f244e7ef55b61a83d12f4662be643cd182d6 (patch)
tree6f741b4059ce1061d04ffa47c43658535c62b6f3 /compiler/rustc_parse/src/parser/diagnostics.rs
parent595b9a498bc55fcd30111e430d8e4290ed833b4c (diff)
parente3f104608c0ad26e80b1ebedef2ab8a748189e52 (diff)
downloadrust-7950f244e7ef55b61a83d12f4662be643cd182d6.tar.gz
rust-7950f244e7ef55b61a83d12f4662be643cd182d6.zip
Auto merge of #147299 - compiler-errors:hr-norm, r=jackh726
Don't normalize higher-ranked assumptions if they're not used

See the comment in the code.

Normalizing these assumptions may cause us to register things like new placeholder outlives obligations that cause higher-ranked lifetime errors, and this is problematic if we're not even using these assumptions in borrowck.

Fixes rust-lang/rust#147244
Fixes rust-lang/rust#147285
Diffstat (limited to 'compiler/rustc_parse/src/parser/diagnostics.rs')
0 files changed, 0 insertions, 0 deletions