Skip to content

Commit

Permalink
save-analysis: make generated_code pub
Browse files Browse the repository at this point in the history
  • Loading branch information
nrc committed Jul 14, 2015
1 parent dd46cf8 commit e6e6368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_trans/save/mod.rs
Expand Up @@ -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
}

0 comments on commit e6e6368

Please sign in to comment.