-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into route-tracing
- Loading branch information
Showing
263 changed files
with
9,023 additions
and
3,568 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ harness = false | |
|
||
[dev-dependencies] | ||
rocket = { path = "../core/lib/" } | ||
criterion = "0.3" | ||
criterion = "0.4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "rocket_db_pools_codegen" | ||
version = "0.1.0-rc.2" | ||
version = "0.1.0-rc.3" | ||
authors = ["Sergio Benitez <[email protected]>", "Jeb Rosen <[email protected]>"] | ||
description = "Procedural macros for rocket_db_pools." | ||
repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools" | ||
|
@@ -14,7 +14,7 @@ rust-version = "1.56" | |
proc-macro = true | ||
|
||
[dependencies] | ||
devise = "0.3" | ||
devise = "0.4" | ||
quote = "1" | ||
|
||
[dev-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 12 additions & 10 deletions
22
contrib/db_pools/codegen/tests/ui-fail-stable/database-types.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
error[E0277]: the trait bound `Unknown: Pool` is not satisfied | ||
--> tests/ui-fail-stable/database-types.rs:7:10 | ||
| | ||
7 | struct A(Unknown); | ||
| ^^^^^^^ the trait `Pool` is not implemented for `Unknown` | ||
| | ||
--> tests/ui-fail-stable/database-types.rs:7:10 | ||
| | ||
7 | struct A(Unknown); | ||
| ^^^^^^^ the trait `Pool` is not implemented for `Unknown` | ||
| | ||
= help: the trait `Pool` is implemented for `deadpool::managed::Pool<M, C>` | ||
note: required by a bound in `rocket_db_pools::Database::Pool` | ||
--> $WORKSPACE/contrib/db_pools/lib/src/database.rs | ||
| | ||
| type Pool: Pool; | ||
| ^^^^ required by this bound in `rocket_db_pools::Database::Pool` | ||
--> $WORKSPACE/contrib/db_pools/lib/src/database.rs | ||
| | ||
| type Pool: Pool; | ||
| ^^^^ required by this bound in `Database::Pool` | ||
|
||
error[E0277]: the trait bound `Vec<i32>: Pool` is not satisfied | ||
--> tests/ui-fail-stable/database-types.rs:11:10 | ||
| | ||
11 | struct B(Vec<i32>); | ||
| ^^^^^^^^ the trait `Pool` is not implemented for `Vec<i32>` | ||
| | ||
= help: the trait `Pool` is implemented for `deadpool::managed::Pool<M, C>` | ||
note: required by a bound in `rocket_db_pools::Database::Pool` | ||
--> $WORKSPACE/contrib/db_pools/lib/src/database.rs | ||
| | ||
| type Pool: Pool; | ||
| ^^^^ required by this bound in `rocket_db_pools::Database::Pool` | ||
| ^^^^ required by this bound in `Database::Pool` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.