diff options
| author | Jeff Muizelaar <jrmuizel@gmail.com> | 2025-04-03 20:45:12 -0400 |
|---|---|---|
| committer | Jeff Muizelaar <jrmuizel@gmail.com> | 2025-04-04 11:37:14 -0400 |
| commit | 8f04875e980235590d2d1af43b9c4f16453fd330 (patch) | |
| tree | 71c1691f5b6f2a5b1e7db29ee751ae92606f5964 /tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs | |
| parent | 8408e2810b5e670b6ae82b72e4e6770363e90f78 (diff) | |
| download | rust-8f04875e980235590d2d1af43b9c4f16453fd330.tar.gz rust-8f04875e980235590d2d1af43b9c4f16453fd330.zip | |
fix: don't drop references with more than one definition.
Implicit field references during struct initialization were being dropped because get_definition was returning None because there were multiple definitions. This adds a new helper, `get_defintions`, that supports returning more than one definition for a given token and hooks it up. Fixes #19393
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs')
0 files changed, 0 insertions, 0 deletions
