about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-13 01:19:05 +0000
committerbors <bors@rust-lang.org>2022-09-13 01:19:05 +0000
commit11c831d6960b96bbf23e788291ddc25c9aa2cb23 (patch)
tree0ea6951f8b0a861a15d31b73155daa1a3d86db59 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
parent16ed1913622e5c10ce7630a2dc23ab6010a02197 (diff)
parent1cf9be98cdc2d2753b11dd71d83c03c82897b006 (diff)
downloadrust-11c831d6960b96bbf23e788291ddc25c9aa2cb23.tar.gz
rust-11c831d6960b96bbf23e788291ddc25c9aa2cb23.zip
Auto merge of #99556 - davidtwco:collapse-debuginfo, r=wesleywiser
ssa: implement `#[collapse_debuginfo]`

cc #39153 rust-lang/compiler-team#386

Debuginfo line information for macro invocations are collapsed by default - line information are replaced by the line of the outermost expansion site. Using `-Zdebug-macros` disables this behaviour.

When the `collapse_debuginfo` feature is enabled, the default behaviour is reversed so that debuginfo is not collapsed by default. In addition, the `#[collapse_debuginfo]` attribute is available and can be applied to macro definitions which will then have their line information collapsed.

r? rust-lang/wg-debugging
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions