Skip to content

Commit 1dcf60a

Browse files
hide ___specta_definition___ from LSP hints
1 parent 6b149dd commit 1dcf60a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

specta-macros/src/type/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ pub fn derive(input: proc_macro::TokenStream) -> syn::Result<proc_macro::TokenSt
177177
// TODO: We should make this a standalone function but that caused issues resolving lifetimes.
178178
#[automatically_derived]
179179
impl #bounds #ident #type_args #where_bound {
180+
#[doc(hidden)] // Don't want this showing up in users LSP
180181
fn ___specta_definition___(types: &mut #crate_ref::TypeCollection) -> #crate_ref::datatype::DataType {
181182
#inlines
182183
}

0 commit comments

Comments
 (0)