fn ignored_span(sess: &ParseSess, sp: Span) -> Span {
    let info = ExpnInfo {
        call_site: DUMMY_SP,
        callee: NameAndSpan {
            format: MacroAttribute(intern("std_inject")),
            span: None,
            allow_internal_unstable: true,
        }
    };
    let expn_id = sess.codemap().record_expansion(info);
    let mut sp = sp;
    sp.expn_id = expn_id;
    return sp;
}
/// Craft a span that will be ignored by the stability lint's
/// call to codemap's is_internal check.
/// The expanded code uses the unstable `#[prelude_import]` attribute.
Craft a span that will be ignored by the stability lint's
call to codemap's is_internal check.
The expanded code uses the unstable `#[prelude_import]` attribute.
Craft a span that will be ignored by the stability lint ' s call to codemap ' s is_internal check . The expanded code uses the unstable ` # [ prelude_import ] ` attribute .
fn ignored_span(sess: &ParseSess, sp: Span) -> Span {
    let info = ExpnInfo {
        call_site: DUMMY_SP,
        callee: NameAndSpan {
            format: MacroAttribute(intern("std_inject")),
            span: None,
            allow_internal_unstable: true,
        }
    };
    let expn_id = sess.codemap().record_expansion(info);
    let mut sp = sp;
    sp.expn_id = expn_id;
    return sp;
}
fn ignored_span ( sess : & ParseSess , sp : Span ) -> Span { let info = ExpnInfo { call_site : DUMMY_SP , callee : NameAndSpan { format : MacroAttribute ( intern ( " " ) ) , span : None , allow_internal_unstable : true , } } ; let expn_id = sess . codemap ( ) . record_expansion ( info ) ; let mut sp = sp ; sp . expn_id = expn_id ; return sp ; }
Craft a span that will be ignored by the stability lint's
call to codemap's is_internal check.
Craft a span that will be ignored by the stability lint ' s call to codemap ' s is_internal check .
sess
&ParseSess
sp
Span
sess
&ParseSess
sp
Span