We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11ba6ee + aaa823f commit efd7f23Copy full SHA for efd7f23
godot-core/src/registry/property.rs
@@ -63,7 +63,8 @@ pub trait Var: GodotConvert {
63
#[diagnostic::on_unimplemented(
64
message = "`#[var]` properties require `Var` trait; #[export] ones require `Export` trait",
65
label = "type cannot be used as a property",
66
- note = "see also: https://godot-rust.github.io/book/register/properties.html"
+ note = "see also: https://godot-rust.github.io/book/register/properties.html",
67
+ note = "`Gd` and `DynGd` cannot be exported directly; wrap them in `Option<...>` or `OnEditor<...>`."
68
)]
69
pub trait Export: Var {
70
/// The export info to use for an exported field of this type, if no other export info is specified.
0 commit comments