Files
rust/compiler/rustc_middle/src
Wesley Wiser 34d90a46da Fix line numbers for MIR inlined code
`should_collapse_debuginfo` detects if the specified span is part of a
macro expansion however it does this by checking if the span is anything
other than a normal (non-expanded) kind, then the span sequence is
walked backwards to the root span.

This doesn't work when the MIR inliner inlines code as it creates spans
with expansion information set to `ExprKind::Inlined` and results in the
line number being attributed to the inline callsite rather than the
normal line number of the inlined code.
2022-10-14 18:44:30 -04:00
..
2022-10-01 10:03:06 +00:00
2022-10-14 12:57:56 +08:00
2022-09-02 07:26:22 +10:00
2022-10-14 18:44:30 -04:00
2022-04-05 07:01:00 +01:00
2022-10-07 09:33:46 -05:00
2022-10-12 17:49:10 +05:30