Yep, turns out we can re-use spans_for_path_segments for both path segments and type params.