1
Fork 0
rust/compiler/rustc_feature/src
bors 0df1ddc185 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
2022-09-13 01:19:05 +00:00
..
accepted.rs Revert let_chains stabilization 2022-08-29 19:34:11 +02:00
active.rs Auto merge of #99556 - davidtwco:collapse-debuginfo, r=wesleywiser 2022-09-13 01:19:05 +00:00
builtin_attrs.rs Auto merge of #99556 - davidtwco:collapse-debuginfo, r=wesleywiser 2022-09-13 01:19:05 +00:00
lib.rs get_attr should check that no duplicates are allowed 2022-09-06 14:16:54 +08:00
removed.rs Remove register_attr feature 2022-08-28 21:23:23 +09:00
tests.rs tidy: Re-enable check for inline unit tests 2020-12-12 19:18:44 +03:00