Skip to content

Commit 43bb514

Browse files
committed
Rollup merge of #27029 - nrc:save-pub-gen-code, r=alexcrichton
2 parents 2c49927 + e6e6368 commit 43bb514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_trans/save/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,6 @@ fn escape(s: String) -> String {
753753

754754
// If the expression is a macro expansion or other generated code, run screaming
755755
// and don't index.
756-
fn generated_code(span: Span) -> bool {
756+
pub fn generated_code(span: Span) -> bool {
757757
span.expn_id != NO_EXPANSION || span == DUMMY_SP
758758
}

0 commit comments

Comments
 (0)