diff --git a/examples/resource-user-struct.rs b/examples/resource-user-struct.rs index 132aa3491a..dbda9a3fd9 100644 --- a/examples/resource-user-struct.rs +++ b/examples/resource-user-struct.rs @@ -19,6 +19,7 @@ mod app { } // Should not collide with the struct above + #[allow(dead_code)] struct Resources2 { // A resource shared: u32,