diff --git a/contrib/sync_db_pools/codegen/tests/ui-fail-nightly/database-types.stderr b/contrib/sync_db_pools/codegen/tests/ui-fail-nightly/database-types.stderr index 487912fc..f170223d 100644 --- a/contrib/sync_db_pools/codegen/tests/ui-fail-nightly/database-types.stderr +++ b/contrib/sync_db_pools/codegen/tests/ui-fail-nightly/database-types.stderr @@ -25,10 +25,10 @@ note: required by a bound in `rocket_sync_db_pools::Connection` | ^^^^^^^^ required by this bound in `rocket_sync_db_pools::Connection` error[E0277]: the trait bound `Unknown: Poolable` is not satisfied - --> tests/ui-fail-nightly/database-types.rs:5:1 + --> tests/ui-fail-nightly/database-types.rs:6:10 | -5 | #[database("foo")] - | ^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `Unknown` +6 | struct A(Unknown); + | ^^^^^^^ the trait `Poolable` is not implemented for `Unknown` | = help: the trait `Poolable` is implemented for `SqliteConnection` note: required by a bound in `ConnectionPool` @@ -36,13 +36,12 @@ note: required by a bound in `ConnectionPool` | | pub struct ConnectionPool { | ^^^^^^^^ required by this bound in `ConnectionPool` - = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Vec: Poolable` is not satisfied - --> tests/ui-fail-nightly/database-types.rs:8:1 + --> tests/ui-fail-nightly/database-types.rs:9:10 | -8 | #[database("foo")] - | ^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `Vec` +9 | struct B(Vec); + | ^^^^^^^^ the trait `Poolable` is not implemented for `Vec` | = help: the trait `Poolable` is implemented for `SqliteConnection` note: required by a bound in `ConnectionPool` @@ -50,4 +49,3 @@ note: required by a bound in `ConnectionPool` | | pub struct ConnectionPool { | ^^^^^^^^ required by this bound in `ConnectionPool` - = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info)