diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-22 20:21:41 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-22 20:21:41 +0800 |
| commit | d7c9ad94113cca2f782666e37a0aa4fb7b8d7d86 (patch) | |
| tree | 323dfc74a274463500ac52c7bb7b83029b771411 /mingling_macros/src/help.rs | |
| parent | 232f31c6649e6348a5b0b64362f185f7f4db1dc0 (diff) | |
Support qualified type paths in four macros
Diffstat (limited to 'mingling_macros/src/help.rs')
| -rw-r--r-- | mingling_macros/src/help.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mingling_macros/src/help.rs b/mingling_macros/src/help.rs index 2721bf5..e9e91cf 100644 --- a/mingling_macros/src/help.rs +++ b/mingling_macros/src/help.rs @@ -71,11 +71,6 @@ pub fn help_attr(item: TokenStream) -> TokenStream { Err(e) => return e.to_compile_error().into(), }; - // Check that the entry type is a single-segment type (no `::`) - if let Some(err_tokens) = crate::check_single_segment_type(&entry_type, "#[help]") { - return err_tokens.into(); - } - // Validate return type if let Err(e) = validate_return_type(&input_fn.sig) { return e.to_compile_error().into(); |
