fn new_span(&self, lo: u32, text: &str) -> Span {
        let hi = lo + text.len() as u32;
        let file_lo = self.file_span.lo();
        self.file_span.with_lo(file_lo + BytePos(lo)).with_hi(file_lo + BytePos(hi))
    }
/// Convenient wrapper to create a [`Span`] from a position in the file.
Convenient wrapper to create a [`Span`] from a position in the file.
Convenient wrapper to create a [ ` Span ` ] from a position in the file .
fn new_span(&self, lo: u32, text: &str) -> Span {
        let hi = lo + text.len() as u32;
        let file_lo = self.file_span.lo();
        self.file_span.with_lo(file_lo + BytePos(lo)).with_hi(file_lo + BytePos(hi))
    }
fn new_span ( & self , lo : u32 , text : & str ) -> Span { let hi = lo + text . len ( ) as u32 ; let file_lo = self . file_span . lo ( ) ; self . file_span . with_lo ( file_lo + BytePos ( lo ) ) . with_hi ( file_lo + BytePos ( hi ) ) }
Convenient wrapper to create a [`Span`] from a position in the file.
Convenient wrapper to create a [ ` Span ` ] from a position in the file .
&self
lo
u32
text
&str
&self
lo
u32
text
&str