You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -17,10 +18,8 @@ use std::collections::VecDeque;
17
18
use std::hash::Hash;
18
19
use std::ops::{Deref,DerefMut};
19
20
use std::sync::Arc;
20
-
21
21
#[diagnostic::on_unimplemented(
22
-
message = "This function does not fulfil the requirements to be a script callable function. All arguments must implement the ScriptArgument trait and all return values must implement the ScriptReturn trait",
23
-
note = "If you're trying to return a non-primitive type, you might need to use V<T> R<T> or M<T> wrappers"
22
+
message = "This function does not fulfil the requirements to be a script callable function. All arguments must implement the ScriptArgument trait and all return values must implement the ScriptReturn trait"
24
23
)]
25
24
/// A trait implemented by functions which can act as dynamic script functions, which can then be registered against a [`ScriptFunctionRegistry`].
message = "Only functions with all arguments impplementing FromScript and return values supporting IntoScript are supported. Registering functions also requires they implement GetTypeDependencies",
33
-
note = "If you're trying to return a non-primitive type, you might need to use V<T> R<T> or M<T> wrappers"
32
+
note = "If you're trying to use a non-primitive type, you might need to use V<T> R<T> or M<T> wrappers"
34
33
)]
35
34
/// A trait implemented by functions which can act as mutable dynamic script functions.
0 commit comments