fn match_callees(&self, sp_a: &Span, sp_b: &Span) -> bool {
        let fmt_a = self
            .with_expn_info(sp_a.expn_id,
                            |ei| ei.map(|ei| ei.callee.format.clone()));

        let fmt_b = self
            .with_expn_info(sp_b.expn_id,
                            |ei| ei.map(|ei| ei.callee.format.clone()));
        fmt_a == fmt_b
    }
// Returns true if two spans have the same callee
// (Assumes the same ExpnFormat implies same callee)
Returns true if two spans have the same callee
(Assumes the same ExpnFormat implies same callee)
Returns true if two spans have the same callee ( Assumes the same ExpnFormat implies same callee )
fn match_callees(&self, sp_a: &Span, sp_b: &Span) -> bool {
        let fmt_a = self
            .with_expn_info(sp_a.expn_id,
                            |ei| ei.map(|ei| ei.callee.format.clone()));
        let fmt_b = self
            .with_expn_info(sp_b.expn_id,
                            |ei| ei.map(|ei| ei.callee.format.clone()));
        fmt_a == fmt_b
    }
fn match_callees ( & self , sp_a : & Span , sp_b : & Span ) -> bool { let fmt_a = self . with_expn_info ( sp_a . expn_id , | ei | ei . map ( | ei | ei . callee . format . clone ( ) ) ) ; let fmt_b = self . with_expn_info ( sp_b . expn_id , | ei | ei . map ( | ei | ei . callee . format . clone ( ) ) ) ; fmt_a == fmt_b }
Returns true if two spans have the same callee
(Assumes the same ExpnFormat implies same callee)
Returns true if two spans have the same callee ( Assumes the same ExpnFormat implies same callee )
&self
sp_a
&Span
sp_b
&Span
&self
sp_a
&Span
sp_b
&Span