@@ -15,7 +15,7 @@ error: `public` already specified
1515error: expected string literal
1616 --> tests/ui/views.rs:88:45
1717 |
18- 88 | #[view(accessor = view_def_dup_name, name = view_def_dup_name, public)]
18+ 88 | #[view(accessor = view_def_dup_name, name = view_def_dup_name, publ...
1919 | ^^^^^^^^^^^^^^^^^
2020
2121error: expected one of: `name`, `public`, `accessor`
@@ -57,8 +57,8 @@ error: Views do not take parameters other than `&ViewContext` or `&AnonymousView
5757error[E0425]: cannot find type `ScheduledTable` in this scope
5858 --> tests/ui/views.rs:143:45
5959 |
60- 143 | ...wContext , _args: ScheduledTable) -> Vec<PlayerInfo> {
61- | ^^^^^^^^^^^^^^ not found in this scope
60+ 143 | ...ext , _args: ScheduledTable) -> Vec<PlayerInfo> {
61+ | ^^^^^^^^^^^^^^ not found in this scope
6262
6363error[E0425]: cannot find type `T` in this scope
6464 --> tests/ui/views.rs:202:60
@@ -288,7 +288,7 @@ error[E0277]: invalid view signature
288288note: required by a bound in `ViewDispatcher::<ViewContext>::invoke`
289289 --> src/rt.rs
290290 |
291- | pub fn invoke<'a, A, T, V>(view: V, ctx: ViewContext, args: &'a [u8]) -> ...
291+ | pub fn invoke<'a, A, T, V>(view: V, ctx: ViewContext, args: &'...
292292 | ------ required by a bound in this associated function
293293...
294294 | V: View<'a, A, T>,
@@ -320,8 +320,8 @@ note: required by a bound in `ViewRegistrar::<AnonymousViewContext>::register`
320320error[E0277]: the trait bound `NotSpacetimeType: SpacetimeType` is not satisfied
321321 --> tests/ui/views.rs:137:71
322322 |
323- 137 | ...Context ) -> Option<NotSpacetimeType> {
324- | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
323+ 137 | ...xt ) -> Option<NotSpacetimeType> {
324+ | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
325325 |
326326help: the trait `SpacetimeType` is not implemented for `NotSpacetimeType`
327327 --> tests/ui/views.rs:73:1
@@ -344,8 +344,8 @@ help: the trait `SpacetimeType` is not implemented for `NotSpacetimeType`
344344error[E0277]: the trait bound `NotSpacetimeType: Serialize` is not satisfied
345345 --> tests/ui/views.rs:137:71
346346 |
347- 137 | ...Context ) -> Option<NotSpacetimeType> {
348- | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
347+ 137 | ...xt ) -> Option<NotSpacetimeType> {
348+ | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
349349 |
350350help: the trait `Serialize` is not implemented for `NotSpacetimeType`
351351 --> tests/ui/views.rs:73:1
@@ -379,7 +379,7 @@ error[E0277]: invalid anonymous view signature
379379note: required by a bound in `ViewDispatcher::<AnonymousViewContext>::invoke`
380380 --> src/rt.rs
381381 |
382- | pub fn invoke<'a, A, T, V>(view: V, ctx: AnonymousViewContext, args: &'a ...
382+ | pub fn invoke<'a, A, T, V>(view: V, ctx: AnonymousViewContext,...
383383 | ------ required by a bound in this associated function
384384...
385385 | V: AnonymousView<'a, A, T>,
@@ -389,8 +389,8 @@ note: required by a bound in `ViewDispatcher::<AnonymousViewContext>::invoke`
389389error[E0277]: the trait bound `NotSpacetimeType: SpacetimeType` is not satisfied
390390 --> tests/ui/views.rs:137:71
391391 |
392- 137 | ...Context ) -> Option<NotSpacetimeType> {
393- | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
392+ 137 | ...xt ) -> Option<NotSpacetimeType> {
393+ | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
394394 |
395395help: the trait `SpacetimeType` is not implemented for `NotSpacetimeType`
396396 --> tests/ui/views.rs:73:1
@@ -414,10 +414,11 @@ error[E0277]: the trait bound `{integer}: RHS<Player, spacetimedb::Identity>` is
414414 --> tests/ui/views.rs:160:49
415415 |
416416160 | ctx.from.player().r#where(|a| a.identity.eq(42)).build()
417- | -- ^^ the trait `RHS<Player, spacetimedb::Identity>` is not implemented for `{integer}`
417+ | -- ^^ unsatisfied trait bound
418418 | |
419419 | required by a bound introduced by this call
420420 |
421+ = help: the trait `RHS<Player, spacetimedb::Identity>` is not implemented for `{integer}`
421422 = help: the following other types implement trait `RHS<T, V>`:
422423 `f32` implements `RHS<T, f32>`
423424 `f64` implements `RHS<T, f64>`
@@ -459,24 +460,24 @@ note: required by a bound in `Col::<T, V>::eq`
459460error[E0308]: mismatched types
460461 --> tests/ui/views.rs:175:62
461462 |
462- 175 | .left_semijoin(ctx.from.player( ), |a, b| a.weight.eq(b.identity))
463- | -- ^^^^^^^^^^ expected `IxCol<Player, u32>`, found `IxCol<Player, Identity>`
464- | |
465- | arguments to this method are incorrect
463+ 175 | ... ), |a, b| a.weight.eq(b.identity))
464+ | -- ^^^^^^^^^^ expected `IxCol<Player, u32>`, found `IxCol<Player, Identity>`
465+ | |
466+ | arguments to this method are incorrect
466467 |
467468 = note: expected struct `IxCol<Player, u32>`
468469 found struct `IxCol<Player, spacetimedb::Identity>`
469470note: method defined here
470471 --> $WORKSPACE/crates/query-builder/src/join.rs
471472 |
472- | pub fn eq<R: HasIxCols>(self, rhs: IxCol<R, V>) -> IxJoinEq<T, R, V> {
473+ | pub fn eq<R: HasIxCols>(self, rhs: IxCol<R, V>) -> IxJoinEq<T,...
473474 | ^^
474475
475476error[E0609]: no field `age` on type `&PlayerInfoIxCols`
476477 --> tests/ui/views.rs:185:72
477478 |
478- 185 | .right_semijoin(ctx.from.player_info(), |a, b| a.identity.eq(b.age))
479- | ^^^ unknown field
479+ 185 | ... |a, b| a.identity.eq(b.age))
480+ | ^^^ unknown field
480481 |
481482 = note: available fields are: `identity`, `weight`
482483
0 commit comments