@@ -118,22 +118,22 @@ note: required by a bound in `spacetimedb::spacetimedb_lib::ser::SerializeNamedP
118118 | ^^^^^^^^^ required by this bound in `SerializeNamedProduct::serialize_element`
119119
120120error[E0277]: `&'a Alpha` cannot appear as an argument to an index filtering operation
121- --> tests/ui/tables.rs:30 :33
121+ --> tests/ui/tables.rs:32 :33
122122 |
123- 30 | ctx.db.delta().compound_a().find(Alpha::Beta );
123+ 32 | ctx.db.delta().compound_a().find(Alpha { beta: 0 } );
124124 | ^^^^ should be an integer type, `bool`, `String`, `&str`, `Identity`, `ConnectionId`, or `Hash`, not `&'a Alpha`
125125 |
126126 = help: the trait `for<'a> FilterableValue` is not implemented for `&'a Alpha`
127127 = note: The allowed set of types are limited to integers, bool, strings, `Identity`, `ConnectionId`, and `Hash`
128128 = help: the following other types implement trait `FilterableValue`:
129129 &ConnectionId
130130 &Identity
131+ &Lifecycle
132+ &RawMiscModuleExportV9
133+ &TableAccess
134+ &TableType
131135 &bool
132136 ðnum::int::I256
133- ðnum::uint::U256
134- &i128
135- &i16
136- &i32
137137 and $N others
138138note: required by a bound in `UniqueColumn::<Tbl, <Col as spacetimedb::table::Column>::ColType, Col>::find`
139139 --> src/table.rs
@@ -145,22 +145,22 @@ note: required by a bound in `UniqueColumn::<Tbl, <Col as spacetimedb::table::Co
145145 | ^^^^^^^^^^^^^^^ required by this bound in `UniqueColumn::<Tbl, <Col as Column>::ColType, Col>::find`
146146
147147error[E0277]: the trait bound `Alpha: IndexScanRangeBounds<(Alpha,), SingleBound>` is not satisfied
148- --> tests/ui/tables.rs:31 :40
148+ --> tests/ui/tables.rs:33 :40
149149 |
150- 31 | ctx.db.delta().compound_b().filter(Alpha::Gamma );
151- | ------ ^^^^^^^^^^^^ the trait `FilterableValue` is not implemented for `Alpha`
150+ 33 | ctx.db.delta().compound_b().filter(Alpha { beta: 1 } );
151+ | ------ ^^^^^^^^^^^^^^^^^ the trait `FilterableValue` is not implemented for `Alpha`
152152 | |
153153 | required by a bound introduced by this call
154154 |
155155 = help: the following other types implement trait `FilterableValue`:
156156 &ConnectionId
157157 &Identity
158+ &Lifecycle
159+ &RawMiscModuleExportV9
160+ &TableAccess
161+ &TableType
158162 &bool
159163 ðnum::int::I256
160- ðnum::uint::U256
161- &i128
162- &i16
163- &i32
164164 and $N others
165165 = note: required for `Alpha` to implement `IndexScanRangeBounds<(Alpha,), SingleBound>`
166166note: required by a bound in `RangedIndex::<Tbl, IndexType, Idx>::filter`
0 commit comments