refactor: introduce NameGenerator in suggest_name

This commit is contained in:
roife 2024-09-03 23:07:41 +08:00
parent e35227d186
commit 825dec8108
5 changed files with 189 additions and 78 deletions

View file

@ -65,7 +65,7 @@ pub use rowan::{
TokenAtOffset, WalkEvent,
};
pub use rustc_lexer::unescape;
pub use smol_str::{format_smolstr, SmolStr, ToSmolStr};
pub use smol_str::{format_smolstr, SmolStr, SmolStrBuilder, ToSmolStr};
/// `Parse` is the result of the parsing: a syntax tree and a collection of
/// errors.