pub fn span(&self, mir: &Mir<'_>) -> Span {
        let span_location = match self {
            Locations::All => Location::START,
            Locations::Boring(l) | Locations::Interesting(l) => *l,
        };
        mir.source_info(span_location).span
    }
/// Gets a span representing the location.
Gets a span representing the location.
Gets a span representing the location .
pub fn span(&self, mir: &Mir<'_>) -> Span {
        let span_location = match self {
            Locations::All => Location::START,
            Locations::Boring(l) | Locations::Interesting(l) => *l,
        };
        mir.source_info(span_location).span
    }
pub fn span ( & self , mir : & Mir < ' _ > ) -> Span { let span_location = match self { Locations :: All => Location :: START , Locations :: Boring ( l ) | Locations :: Interesting ( l ) => * l , } ; mir . source_info ( span_location ) . span }
Gets a span representing the location.
Gets a span representing the location .
&self
mir
&Mir<'_>
&self
mir
&Mir<'_>