save-analysis: make generated_code pub
This commit is contained in:
parent
dd46cf8b22
commit
e6e6368454
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