mirror of https://github.com/rwf2/Rocket.git
Update error positions after changes for async #[catch] support.
This commit is contained in:
parent
2fa2d636e4
commit
df52616074
|
@ -15,8 +15,9 @@ fn f2(_request: &Request) -> bool {
|
|||
}
|
||||
|
||||
#[catch(404)]
|
||||
//~^ ERROR mismatched types
|
||||
fn f3(_request: bool) -> usize {
|
||||
//~^ ERROR mismatched types
|
||||
//~^ ERROR usize: rocket::response::Responder
|
||||
10
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue