You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= note: required because of the requirements on the impl of `FromUriParam<rocket::http::uri::Path, Option<{integer}>>` for `Option<i32>`
56
56
= note: required by `from_uri_param`
57
57
58
-
error[E0277]: the trait bound `std::string::String: FromUriParam<rocket::http::uri::Path, std::result::Result<_, _>>` is not satisfied
58
+
error[E0277]: the trait bound `std::string::String: FromUriParam<rocket::http::uri::Path, Result<_, _>>` is not satisfied
59
59
--> $DIR/typed-uri-bad-type.rs:65:43
60
60
|
61
61
65 | uri!(optionals: id = Some(10), name = Ok("bob".into()));
62
-
| ^^ the trait `FromUriParam<rocket::http::uri::Path, std::result::Result<_, _>>` is not implemented for `std::string::String`
62
+
| ^^ the trait `FromUriParam<rocket::http::uri::Path, Result<_, _>>` is not implemented for `std::string::String`
63
63
|
64
64
= help: the following implementations were found:
65
65
<std::string::String as FromUriParam<P, &'a str>>
66
66
<std::string::String as FromUriParam<P, &'x &'a str>>
67
67
<std::string::String as FromUriParam<P, &'x mut &'a str>>
68
68
<std::string::String as FromUriParam<P, &'x mut std::string::String>>
69
69
and 2 others
70
-
= note: required because of the requirements on the impl of `FromUriParam<rocket::http::uri::Path, std::result::Result<_, _>>` for `std::result::Result<std::string::String, &RawStr>`
70
+
= note: required because of the requirements on the impl of `FromUriParam<rocket::http::uri::Path, Result<_, _>>` for `Result<std::string::String, &RawStr>`
71
71
= note: required by `from_uri_param`
72
72
73
73
error[E0277]: the trait bound `isize: FromUriParam<rocket::http::uri::Query, &str>` is not satisfied
0 commit comments