Rollup merge of #27029 - nrc:save-pub-gen-code, r=alexcrichton
This commit is contained in:
commit
43bb514984
1 changed files with 1 additions and 1 deletions
|
|
@ -753,6 +753,6 @@ fn escape(s: String) -> String {
|
|||
|
||||
// If the expression is a macro expansion or other generated code, run screaming
|
||||
// and don't index.
|
||||
fn generated_code(span: Span) -> bool {
|
||||
pub fn generated_code(span: Span) -> bool {
|
||||
span.expn_id != NO_EXPANSION || span == DUMMY_SP
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue