File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/codegen/tests/ui-fail Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ fn simple_q(id: isize) { }
39
39
40
40
#[ post( "/?<id>&<rest..>" ) ]
41
41
fn other_q ( id : usize , rest : S ) { }
42
+ //~^ ERROR S: rocket::http::uri::Ignorable<rocket::http::uri::Query>
43
+ //~^^ ERROR usize: rocket::http::uri::Ignorable<rocket::http::uri::Query>
42
44
43
45
#[ post( "/?<id>&<name>" ) ]
44
46
fn optionals_q ( id : Option < i32 > , name : Result < String , & RawStr > ) { }
@@ -76,11 +78,9 @@ fn main() {
76
78
//~^ ERROR S: rocket::http::uri::FromUriParam<rocket::http::uri::Query, _>
77
79
78
80
uri ! ( other_q: rest = _, id = 100 ) ;
79
- //~^ ERROR S: rocket::http::uri::Ignorable<rocket::http::uri::Query>
80
81
81
82
uri ! ( other_q: rest = S , id = _) ;
82
83
//~^ ERROR S: rocket::http::uri::FromUriParam<rocket::http::uri::Query, _>
83
- //~^^ ERROR usize: rocket::http::uri::Ignorable<rocket::http::uri::Query>
84
84
85
85
// These are all okay.
86
86
uri ! ( optionals_q: _, _) ;
You can’t perform that action at this time.
0 commit comments