rust/compiler/rustc_middle/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
..
dep_graph Don't create two new closures for each query 2022-09-01 18:47:54 -05:00
hir Auto merge of #101688 - cjgillot:verify-hir-parent, r=petrochenkov 2022-09-12 00:41:56 +00:00
infer make PlaceholderConst not store the type of the const 2022-08-01 15:42:38 +01:00
middle Migrate limit error 2022-09-01 23:35:38 +08:00
mir Rollup merge of #100767 - kadiwa4:escape_ascii, r=jackh726 2022-09-12 15:21:30 +05:30
query rename codegen_fulfill_obligation 2022-09-09 13:36:27 +02:00
thir Use boxed slices in PatKind. 2022-09-02 07:26:22 +10:00
traits Rollup merge of #101681 - compiler-errors:rpitit-obj-safety, r=lcnr 2022-09-12 15:21:33 +05:30
ty Auto merge of #99556 - davidtwco:collapse-debuginfo, r=wesleywiser 2022-09-13 01:19:05 +00:00
util
arena.rs Deeply check that method signatures match, and allow for nested RPITITs 2022-09-09 01:31:46 +00:00
error.rs fix comment 2022-09-05 23:18:18 +08:00
lib.rs Auto merge of #101303 - jyn514:jnelson/handle-cycle-enum, r=cjgillot 2022-09-08 02:21:16 +00:00
lint.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
macros.rs impl TypeVisitable in type traversal macros 2022-07-05 22:25:33 +01:00
metadata.rs rustc: Parameterize ty::Visibility over used ID 2022-09-07 13:35:41 +04:00
tests.rs
thir.rs Use niche-filling optimization even when multiple variants have data. 2022-09-07 20:12:45 +00:00
values.rs Make HandleCycleError an enum instead of a macro-generated closure 2022-09-06 19:26:08 -05:00