diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-23 01:12:01 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-23 01:12:01 +0800 |
| commit | 8498a8c4826a10c8c04ad1b9c45d83fb0759121b (patch) | |
| tree | 532792a6ce9d57306238a2f3489d222908afa8f5 /mingling_macros/src/completion.rs | |
| parent | 514357b74e66c3eb626ca51a818c816a82ffc85f (diff) | |
Add entry-str dedup and registry cleanup in final gen
Diffstat (limited to 'mingling_macros/src/completion.rs')
| -rw-r--r-- | mingling_macros/src/completion.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mingling_macros/src/completion.rs b/mingling_macros/src/completion.rs index c4870d9..ae01462 100644 --- a/mingling_macros/src/completion.rs +++ b/mingling_macros/src/completion.rs @@ -158,6 +158,7 @@ pub fn completion_attr(attr: TokenStream, item: TokenStream) -> TokenStream { let variant_name = previous_type_ident.to_string(); if let Err(err) = crate::check_duplicate_variant( &completions, + &completion_str, &variant_name, "completion", previous_type_path.span(), |
