about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs
diff options
context:
space:
mode:
authordianne <diannes.gm@gmail.com>2024-12-12 01:20:26 -0800
committerdianne <diannes.gm@gmail.com>2025-01-06 15:53:30 -0800
commitaa8d5bff4c0fe9e7c1d50a0827b2c734406c3896 (patch)
tree9d51960532c1a95d791a2155f09e6c2daf60ec90 /tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs
parent243d2ca4db6f96d2d18aaf3a2381251d38eb6b0b (diff)
downloadrust-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/patchable-function-entry-one-flag.rs')
0 files changed, 0 insertions, 0 deletions