pub fn to_parser_input<Ctx: Copy + Debug + PartialEq + Eq + Hash>( buffer: TokenTreesView<'_, SpanData<Ctx>>, span_to_edition: &mut dyn FnMut(Ctx) -> Edition, ) -> Input