Skip to content

Commit e6e6368

Browse files
committed
save-analysis: make generated_code pub
1 parent dd46cf8 commit e6e6368

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)