Suppress the macro backtrace for fileline_note
and fileline_help
.
This commit is contained in:
parent
5a8f102bf6
commit
fab3295cba
2 changed files with 4 additions and 5 deletions
|
@ -871,7 +871,7 @@ impl CodeMap {
|
|||
F: FnOnce(Option<&ExpnInfo>) -> T,
|
||||
{
|
||||
match id {
|
||||
NO_EXPANSION => f(None),
|
||||
NO_EXPANSION | COMMAND_LINE_EXPN => f(None),
|
||||
ExpnId(i) => f(Some(&(*self.expansions.borrow())[i as usize]))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue