diff --git a/rust/src/language_representation.rs b/rust/src/language_representation.rs index d39cb95f1..470d67b06 100644 --- a/rust/src/language_representation.rs +++ b/rust/src/language_representation.rs @@ -123,6 +123,9 @@ pub struct CoreLanguageRepresentationFunctionType { handle: NonNull, } +unsafe impl Send for CoreLanguageRepresentationFunctionType {} +unsafe impl Sync for CoreLanguageRepresentationFunctionType {} + impl CoreLanguageRepresentationFunctionType { pub(crate) unsafe fn from_raw(handle: NonNull) -> Self { Self { handle }