fn rewrite_index(
    expr: &Expr,
    index: &Expr,
    context: &RewriteContext<'_>,
    shape: Shape
) -> Option<String>