Migrate type vars to snake case (Redo)

This commit is contained in:
Anthony Bullard 2025-01-03 19:23:19 -06:00
parent 1b15896212
commit 89b7900d7a
No known key found for this signature in database
6 changed files with 484 additions and 81 deletions

View file

@ -6,7 +6,7 @@ use crate::{
collection::Braces,
expr::merge_spaces_conservative,
spaces::{fmt_comments_only, fmt_spaces, fmt_spaces_no_blank_lines, NewlineAt, INDENT},
Buf,
Buf, MigrationFlags,
};
#[derive(Copy, Clone, Debug)]
@ -305,7 +305,7 @@ impl<'b> NodeInfo<'b> {
}
pub trait Nodify<'a> {
fn to_node<'b>(&'a self, arena: &'b Bump) -> NodeInfo<'b>
fn to_node<'b>(&'a self, arena: &'b Bump, flags: MigrationFlags) -> NodeInfo<'b>
where
'a: 'b;
}