Skip to content

Commit 6321797

Browse files
jebrosenSergioBenitez
authored andcommitted
Update compile error tests for databases.
1 parent df52616 commit 6321797

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: contrib/codegen/tests/ui-fail/database-types.rs

+6
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ extern crate rocket;
44
struct Unknown;
55

66
#[database("foo")]
7+
//~^ ERROR Unknown: rocket_contrib::databases::Poolable
8+
//~^^ ERROR is private
9+
//~^^^ ERROR no method named `get`
710
struct A(Unknown);
811
//~^ ERROR Unknown: rocket_contrib::databases::Poolable
912

1013
#[database("foo")]
14+
//~^ ERROR Vec<i32>: rocket_contrib::databases::Poolable
15+
//~^^ ERROR is private
16+
//~^^^ ERROR no method named `get`
1117
struct B(Vec<i32>);
1218
//~^ ERROR Vec<i32>: rocket_contrib::databases::Poolable
1319

0 commit comments

Comments
 (0)