Skip to content

Commit ae8c325

Browse files
committed
stupid insta test
1 parent 3651538 commit ae8c325

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

crates/bindings/tests/ui/reducers.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ error: scheduled table missing required columns; add these to your struct:
1717
scheduled_at: spacetimedb::ScheduleAt,
1818
--> tests/ui/reducers.rs:28:63
1919
|
20-
28 | #[spacetimedb::table(accessor = scheduled_table_missing_rows, scheduled(scheduled_table_missing_ro...
20+
28 | #[spacetimedb::table(accessor = scheduled_table_missing_rows, scheduled(scheduled_table_missing_rows_reducer))]
2121
| ^^^^^^^^^
2222

2323
error[E0277]: invalid reducer signature
@@ -276,5 +276,5 @@ error[E0593]: function is expected to take 2 arguments, but it takes 3 arguments
276276
note: required by a bound in `scheduled_typecheck`
277277
--> src/rt.rs
278278
|
279-
| ...FnKind>(_x: impl ExportFunctionForScheduledTable<'de, Row, FnKind>)
280-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `scheduled_typecheck`
279+
| pub const fn scheduled_typecheck<'de, Row, FnKind>(_x: impl ExportFunctionForScheduledTable<'de, Row, FnKind>)
280+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `scheduled_typecheck`

crates/bindings/tests/ui/tables.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ help: the trait `Serialize` is not implemented for `Test`
114114
note: required by a bound in `spacetimedb::spacetimedb_lib::ser::SerializeNamedProduct::serialize_element`
115115
--> $WORKSPACE/crates/sats/src/ser.rs
116116
|
117-
| ...ment<T: Serialize + ?Sized>(&mut self, name: Option<&str>, elem: &T) -> Result<(), Self::Error>;
118-
| ^^^^^^^^^ required by this bound in `SerializeNamedProduct::serialize_element`
117+
| fn serialize_element<T: Serialize + ?Sized>(&mut self, name: Option<&str>, elem: &T) -> Result<(), Self::Error>;
118+
| ^^^^^^^^^ required by this bound in `SerializeNamedProduct::serialize_element`
119119

120120
error[E0277]: the column type `Test` does not implement `SpacetimeType`
121121
--> tests/ui/tables.rs:5:8

0 commit comments

Comments
 (0)