mirror of https://github.com/rwf2/Rocket.git
Update compile error tests for databases.
This commit is contained in:
parent
df52616074
commit
6321797a74
|
@ -4,10 +4,16 @@ extern crate rocket;
|
|||
struct Unknown;
|
||||
|
||||
#[database("foo")]
|
||||
//~^ ERROR Unknown: rocket_contrib::databases::Poolable
|
||||
//~^^ ERROR is private
|
||||
//~^^^ ERROR no method named `get`
|
||||
struct A(Unknown);
|
||||
//~^ ERROR Unknown: rocket_contrib::databases::Poolable
|
||||
|
||||
#[database("foo")]
|
||||
//~^ ERROR Vec<i32>: rocket_contrib::databases::Poolable
|
||||
//~^^ ERROR is private
|
||||
//~^^^ ERROR no method named `get`
|
||||
struct B(Vec<i32>);
|
||||
//~^ ERROR Vec<i32>: rocket_contrib::databases::Poolable
|
||||
|
||||
|
|
Loading…
Reference in New Issue