mirror of
https://github.com/rwf2/Rocket.git
synced 2025-02-16 13:42:05 +00:00
Update UI tests for latest stable.
This commit is contained in:
parent
02b79e28f7
commit
dc2c6ecd8a
@ -111,13 +111,13 @@ error[E0308]: mismatched types
|
||||
--> $DIR/async-entry.rs:37:9
|
||||
|
|
||||
37 | rocket::ignite()
|
||||
| ^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found struct `rocket::rocket::Rocket`
|
||||
| ^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found struct `rocket::Rocket`
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> $DIR/async-entry.rs:46:9
|
||||
|
|
||||
46 | "hi".to_string()
|
||||
| ^^^^^^^^^^^^^^^^ expected struct `rocket::rocket::Rocket`, found struct `std::string::String`
|
||||
| ^^^^^^^^^^^^^^^^ expected struct `rocket::Rocket`, found struct `std::string::String`
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> $DIR/async-entry.rs:26:21
|
||||
@ -130,7 +130,7 @@ error[E0308]: mismatched types
|
||||
28 | | }
|
||||
| | ^- help: try adding a semicolon: `;`
|
||||
| |_____|
|
||||
| expected `()`, found struct `rocket::rocket::Rocket`
|
||||
| expected `()`, found struct `rocket::Rocket`
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> $DIR/async-entry.rs:35:26
|
||||
@ -138,10 +138,10 @@ error[E0308]: mismatched types
|
||||
35 | async fn rocket() -> String {
|
||||
| ^^^^^^
|
||||
| |
|
||||
| expected struct `rocket::rocket::Rocket`, found struct `std::string::String`
|
||||
| expected struct `rocket::Rocket`, found struct `std::string::String`
|
||||
| expected due to this
|
||||
|
||||
error[E0277]: `main` has invalid return type `rocket::rocket::Rocket`
|
||||
error[E0277]: `main` has invalid return type `rocket::Rocket`
|
||||
--> $DIR/async-entry.rs:96:20
|
||||
|
|
||||
96 | async fn main() -> rocket::Rocket {
|
||||
|
Loading…
Reference in New Issue
Block a user