mirror of https://github.com/rwf2/Rocket.git
Update 'sync_db_pools' UI tests for stable.
This commit is contained in:
parent
04819d8cfd
commit
08ef285f37
|
@ -10,6 +10,19 @@ note: required by a bound in `rocket_sync_db_pools::Connection`
|
|||
| pub struct Connection<K, C: Poolable> {
|
||||
| ^^^^^^^^ required by this bound in `rocket_sync_db_pools::Connection`
|
||||
|
||||
error[E0277]: the trait bound `Unknown: Poolable` is not satisfied
|
||||
--> tests/ui-fail-stable/database-types.rs:5:1
|
||||
|
|
||||
5 | #[database("foo")]
|
||||
| ^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `Unknown`
|
||||
|
|
||||
note: required by a bound in `ConnectionPool`
|
||||
--> $WORKSPACE/contrib/sync_db_pools/lib/src/connection.rs
|
||||
|
|
||||
| pub struct ConnectionPool<K, C: Poolable> {
|
||||
| ^^^^^^^^ 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<i32>: Poolable` is not satisfied
|
||||
--> tests/ui-fail-stable/database-types.rs:9:10
|
||||
|
|
||||
|
@ -21,3 +34,16 @@ note: required by a bound in `rocket_sync_db_pools::Connection`
|
|||
|
|
||||
| pub struct Connection<K, C: Poolable> {
|
||||
| ^^^^^^^^ required by this bound in `rocket_sync_db_pools::Connection`
|
||||
|
||||
error[E0277]: the trait bound `Vec<i32>: Poolable` is not satisfied
|
||||
--> tests/ui-fail-stable/database-types.rs:8:1
|
||||
|
|
||||
8 | #[database("foo")]
|
||||
| ^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `Vec<i32>`
|
||||
|
|
||||
note: required by a bound in `ConnectionPool`
|
||||
--> $WORKSPACE/contrib/sync_db_pools/lib/src/connection.rs
|
||||
|
|
||||
| pub struct ConnectionPool<K, C: Poolable> {
|
||||
| ^^^^^^^^ 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)
|
||||
|
|
Loading…
Reference in New Issue