diff options
| author | dianne <diannes.gm@gmail.com> | 2024-12-12 01:20:26 -0800 |
|---|---|---|
| committer | dianne <diannes.gm@gmail.com> | 2025-01-06 15:53:30 -0800 |
| commit | aa8d5bff4c0fe9e7c1d50a0827b2c734406c3896 (patch) | |
| tree | 9d51960532c1a95d791a2155f09e6c2daf60ec90 /tests/codegen/patchable-function-entry | |
| parent | 243d2ca4db6f96d2d18aaf3a2381251d38eb6b0b (diff) | |
| download | rust-aa8d5bff4c0fe9e7c1d50a0827b2c734406c3896.tar.gz rust-aa8d5bff4c0fe9e7c1d50a0827b2c734406c3896.zip | |
cleanup: remove `ExtraConstraintInfo`
`ExtraConstraintInfo` was used only for a single subdiagnostic, so this moves the logic for that to its own function and eliminates the indirection. In order to do so cleanly, this also changes the arguments to `BorrowExplanation::add_explanation_to_diagnostic`, which happens to simplify its call sites.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
