From 96235615cefd8760bd8e4710628b8fab0fe108bb Mon Sep 17 00:00:00 2001 From: Jeb Rosen Date: Fri, 29 Nov 2019 11:18:32 -0800 Subject: [PATCH] Update compile tests for changes in rust nightly. --- core/codegen/tests/ui-fail/typed-uri-bad-type.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/codegen/tests/ui-fail/typed-uri-bad-type.rs b/core/codegen/tests/ui-fail/typed-uri-bad-type.rs index 05b24fb3..0ce39584 100644 --- a/core/codegen/tests/ui-fail/typed-uri-bad-type.rs +++ b/core/codegen/tests/ui-fail/typed-uri-bad-type.rs @@ -39,6 +39,8 @@ fn simple_q(id: isize) { } #[post("/?&")] fn other_q(id: usize, rest: S) { } +//~^ ERROR S: rocket::http::uri::Ignorable +//~^^ ERROR usize: rocket::http::uri::Ignorable #[post("/?&")] fn optionals_q(id: Option, name: Result) { } @@ -76,11 +78,9 @@ fn main() { //~^ ERROR S: rocket::http::uri::FromUriParam uri!(other_q: rest = _, id = 100); - //~^ ERROR S: rocket::http::uri::Ignorable uri!(other_q: rest = S, id = _); //~^ ERROR S: rocket::http::uri::FromUriParam - //~^^ ERROR usize: rocket::http::uri::Ignorable // These are all okay. uri!(optionals_q: _, _);