Improved collapse_debuginfo attribute, added command-line flag (no|external|yes)
This commit is contained in:
parent
bf2637f4e8
commit
8507f5105b
17 changed files with 281 additions and 21 deletions
|
@ -2535,8 +2535,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
if self.sess.opts.unstable_opts.debug_macros || !span.from_expansion() {
|
||||
return span;
|
||||
}
|
||||
let collapse_debuginfo_enabled = self.features().collapse_debuginfo;
|
||||
hygiene::walk_chain_collapsed(span, upto, collapse_debuginfo_enabled)
|
||||
hygiene::walk_chain_collapsed(span, upto, self.features().collapse_debuginfo)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue