fn rewrite_segment(
path_context: PathContext,
segment: &PathSegment,
span_lo: &mut BytePos,
span_hi: BytePos,
context: &RewriteContext<'_>,
shape: Shape,
) -> Result<String, RewriteError>
fn rewrite_segment(
path_context: PathContext,
segment: &PathSegment,
span_lo: &mut BytePos,
span_hi: BytePos,
context: &RewriteContext<'_>,
shape: Shape,
) -> Result<String, RewriteError>