pub fn span_contains(outer: &Span, inner: &Span) -> bool
Returns true if inner is entirely contained within outer.
true
inner
outer
Both spans must reference the same SourceId for this to return true.
SourceId