Skip to content

Commit 146c7ed

Browse files
jebrosenSergioBenitez
authored andcommitted
Update error positions after changes for async #[catch] support.
1 parent 184d67d commit 146c7ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/codegen/tests/ui-fail/catch_type_errors.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ fn f2(_request: &Request) -> bool {
1515
}
1616

1717
#[catch(404)]
18+
//~^ ERROR mismatched types
1819
fn f3(_request: bool) -> usize {
19-
//~^ ERROR mismatched types
20+
//~^ ERROR usize: rocket::response::Responder
2021
10
2122
}
2223

0 commit comments

Comments
 (0)