Skip to content

Commit

Permalink
Update compiler tests for 2018-12-28 nightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jebrosen committed Dec 29, 2018
1 parent 4f81292 commit afd08ff
Show file tree
Hide file tree
Showing 6 changed files with 384 additions and 159 deletions.
2 changes: 2 additions & 0 deletions core/codegen/tests/ui-fail/catch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ fn f3(_request: &Request, other: bool) {
//~^ ERROR invalid number of arguments
//~^^ HELP optionally take an argument
}

fn main() { }
4 changes: 4 additions & 0 deletions core/codegen/tests/ui-fail/from_form.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#[macro_use] extern crate rocket;

use rocket::http::RawStr;

#[derive(FromForm)]
enum Thing { }
//~^ ERROR not supported
Expand Down Expand Up @@ -162,3 +164,5 @@ struct BadName3 {
//~^ ERROR invalid form field name
field: String,
}

fn main() { }
Loading

0 comments on commit afd08ff

Please sign in to comment.