about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-10 08:53:21 +0000
committerbors <bors@rust-lang.org>2025-01-10 08:53:21 +0000
commitb44e14f762fd4062faeba97f8f2bc470298ec1ac (patch)
treed6dde554a9ea9f4702509153650e6557e7d0fed2 /compiler/rustc_codegen_ssa/src/errors.rs
parent67951d946a158bc70949150ca06265e912752096 (diff)
parent72945beedd799c7debe0dddc14cc4e9a00943770 (diff)
downloadrust-b44e14f762fd4062faeba97f8f2bc470298ec1ac.tar.gz
rust-b44e14f762fd4062faeba97f8f2bc470298ec1ac.zip
Auto merge of #135273 - dianne:argument-patterns-are-not-boring, r=lqd
Remove special-casing for argument patterns in MIR typeck (attempt to fix perf regression of  #133858)

See [my comment](https://github.com/rust-lang/rust/pull/133858#issuecomment-2579029618) on #133858 for more information. This is just a guess as to what went wrong, and I haven't been able to get the profiler running locally, so I'll need a perf run to make sure this actually helps.

There's one test's stderr that suffers a bit, but this was just papering over the issue anyway. Making region errors point to the correct constraints in the presence of invariance/contravariance is a broader problem; the current way it's handled is mostly based on guesswork, luck, and hoping it works out. Properly handling that (somehow) would improve the test's stderr without the hack that this PR reverts.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
0 files changed, 0 insertions, 0 deletions