mirror of https://github.com/rwf2/Rocket.git
Update 'sync_db_pools' UI tests.
This commit is contained in:
parent
f10a2d7d9c
commit
707936177a
|
@ -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`
|
| ^^^^^^^^ required by this bound in `rocket_sync_db_pools::Connection`
|
||||||
|
|
||||||
error[E0277]: the trait bound `Unknown: Poolable` is not satisfied
|
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")]
|
6 | struct A(Unknown);
|
||||||
| ^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `Unknown`
|
| ^^^^^^^ the trait `Poolable` is not implemented for `Unknown`
|
||||||
|
|
|
|
||||||
= help: the trait `Poolable` is implemented for `SqliteConnection`
|
= help: the trait `Poolable` is implemented for `SqliteConnection`
|
||||||
note: required by a bound in `ConnectionPool`
|
note: required by a bound in `ConnectionPool`
|
||||||
|
@ -36,13 +36,12 @@ note: required by a bound in `ConnectionPool`
|
||||||
|
|
|
|
||||||
| pub struct ConnectionPool<K, C: Poolable> {
|
| pub struct ConnectionPool<K, C: Poolable> {
|
||||||
| ^^^^^^^^ required by this bound in `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<i32>: Poolable` is not satisfied
|
error[E0277]: the trait bound `Vec<i32>: 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")]
|
9 | struct B(Vec<i32>);
|
||||||
| ^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `Vec<i32>`
|
| ^^^^^^^^ the trait `Poolable` is not implemented for `Vec<i32>`
|
||||||
|
|
|
|
||||||
= help: the trait `Poolable` is implemented for `SqliteConnection`
|
= help: the trait `Poolable` is implemented for `SqliteConnection`
|
||||||
note: required by a bound in `ConnectionPool`
|
note: required by a bound in `ConnectionPool`
|
||||||
|
@ -50,4 +49,3 @@ note: required by a bound in `ConnectionPool`
|
||||||
|
|
|
|
||||||
| pub struct ConnectionPool<K, C: Poolable> {
|
| pub struct ConnectionPool<K, C: Poolable> {
|
||||||
| ^^^^^^^^ required by this bound in `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)
|
|
||||||
|
|
Loading…
Reference in New Issue