diff options
| author | Yacin Tmimi <yacintmimi@gmail.com> | 2023-01-26 13:50:02 -0500 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2023-08-13 14:03:58 -0500 |
| commit | d8aeabaee103bc1788ee237c6bdcd4c345923963 (patch) | |
| tree | 64a2e64335d6b343a8ab79203ff5e44a66c2aed9 /tests/codegen/patchable-function-entry | |
| parent | 641d4f5898fd3d5a8a620d0e313d6eb7fb2e5cac (diff) | |
| download | rust-d8aeabaee103bc1788ee237c6bdcd4c345923963.tar.gz rust-d8aeabaee103bc1788ee237c6bdcd4c345923963.zip | |
include block label length when calculating pat_shape of a match arm
Previously we alwasy assumed the match arm pattern would have `shape.width` - 5 characters of space to work with. Now if we're formatting a block expression with a label we'll take the label into account.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
