@@ -118,22 +118,22 @@ note: required by a bound in `spacetimedb::spacetimedb_lib::ser::SerializeNamedP
118
118
| ^^^^^^^^^ required by this bound in `SerializeNamedProduct::serialize_element`
119
119
120
120
error[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
122
122
|
123
- 30 | ctx.db.delta().compound_a().find(Alpha::Beta );
123
+ 32 | ctx.db.delta().compound_a().find(Alpha { beta: 0 } );
124
124
| ^^^^ should be an integer type, `bool`, `String`, `&str`, `Identity`, `ConnectionId`, or `Hash`, not `&'a Alpha`
125
125
|
126
126
= help: the trait `for<'a> FilterableValue` is not implemented for `&'a Alpha`
127
127
= note: The allowed set of types are limited to integers, bool, strings, `Identity`, `ConnectionId`, and `Hash`
128
128
= help: the following other types implement trait `FilterableValue`:
129
129
&ConnectionId
130
130
&Identity
131
+ &Lifecycle
132
+ &RawMiscModuleExportV9
133
+ &TableAccess
134
+ &TableType
131
135
&bool
132
136
ðnum::int::I256
133
- ðnum::uint::U256
134
- &i128
135
- &i16
136
- &i32
137
137
and $N others
138
138
note: required by a bound in `UniqueColumn::<Tbl, <Col as spacetimedb::table::Column>::ColType, Col>::find`
139
139
--> src/table.rs
@@ -145,22 +145,22 @@ note: required by a bound in `UniqueColumn::<Tbl, <Col as spacetimedb::table::Co
145
145
| ^^^^^^^^^^^^^^^ required by this bound in `UniqueColumn::<Tbl, <Col as Column>::ColType, Col>::find`
146
146
147
147
error[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
149
149
|
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`
152
152
| |
153
153
| required by a bound introduced by this call
154
154
|
155
155
= help: the following other types implement trait `FilterableValue`:
156
156
&ConnectionId
157
157
&Identity
158
+ &Lifecycle
159
+ &RawMiscModuleExportV9
160
+ &TableAccess
161
+ &TableType
158
162
&bool
159
163
ðnum::int::I256
160
- ðnum::uint::U256
161
- &i128
162
- &i16
163
- &i32
164
164
and $N others
165
165
= note: required for `Alpha` to implement `IndexScanRangeBounds<(Alpha,), SingleBound>`
166
166
note: required by a bound in `RangedIndex::<Tbl, IndexType, Idx>::filter`
0 commit comments