aboutsummaryrefslogtreecommitdiffstats
path: root/components/dom_struct/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/dom_struct/lib.rs')
-rw-r--r--components/dom_struct/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/dom_struct/lib.rs b/components/dom_struct/lib.rs
index 2fdac787706..59a3cf8072c 100644
--- a/components/dom_struct/lib.rs
+++ b/components/dom_struct/lib.rs
@@ -19,6 +19,7 @@ pub fn dom_struct(args: TokenStream, input: TokenStream) -> TokenStream {
#[derive(DenyPublicFields, DomObject, JSTraceable, MallocSizeOf)]
#[must_root]
#[repr(C)]
+ #[webidl]
};
// Work around https://github.com/rust-lang/rust/issues/46489