mirror of https://github.com/rwf2/Rocket.git
Update UI tests for latest nightly.
This commit is contained in:
parent
b53a906a8e
commit
2059a626ff
|
@ -65,4 +65,4 @@ error[E0277]: the trait bound `usize: Responder<'_>` is not satisfied
|
|||
::: $WORKSPACE/core/lib/src/handler.rs
|
||||
|
|
||||
| pub fn from<T: Responder<'r>>(req: &Request, responder: T) -> Outcome<'r> {
|
||||
| ------------- required by this bound in `handler::<impl rocket::Outcome<rocket::Response<'r>, rocket::http::Status, rocket::Data>>::from`
|
||||
| ------------- required by this bound in `handler::<impl Outcome<rocket::Response<'r>, rocket::http::Status, rocket::Data>>::from`
|
||||
|
|
|
@ -55,11 +55,11 @@ error[E0277]: the trait bound `i32: FromUriParam<rocket::http::uri::Path, Option
|
|||
= note: required because of the requirements on the impl of `FromUriParam<rocket::http::uri::Path, Option<{integer}>>` for `Option<i32>`
|
||||
= note: required by `from_uri_param`
|
||||
|
||||
error[E0277]: the trait bound `std::string::String: FromUriParam<rocket::http::uri::Path, std::result::Result<_, _>>` is not satisfied
|
||||
error[E0277]: the trait bound `std::string::String: FromUriParam<rocket::http::uri::Path, Result<_, _>>` is not satisfied
|
||||
--> $DIR/typed-uri-bad-type.rs:65:43
|
||||
|
|
||||
65 | uri!(optionals: id = Some(10), name = Ok("bob".into()));
|
||||
| ^^ the trait `FromUriParam<rocket::http::uri::Path, std::result::Result<_, _>>` is not implemented for `std::string::String`
|
||||
| ^^ the trait `FromUriParam<rocket::http::uri::Path, Result<_, _>>` is not implemented for `std::string::String`
|
||||
|
|
||||
= help: the following implementations were found:
|
||||
<std::string::String as FromUriParam<P, &'a str>>
|
||||
|
@ -67,7 +67,7 @@ error[E0277]: the trait bound `std::string::String: FromUriParam<rocket::http::u
|
|||
<std::string::String as FromUriParam<P, &'x mut &'a str>>
|
||||
<std::string::String as FromUriParam<P, &'x mut std::string::String>>
|
||||
and 2 others
|
||||
= 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>`
|
||||
= note: required because of the requirements on the impl of `FromUriParam<rocket::http::uri::Path, Result<_, _>>` for `Result<std::string::String, &RawStr>`
|
||||
= note: required by `from_uri_param`
|
||||
|
||||
error[E0277]: the trait bound `isize: FromUriParam<rocket::http::uri::Query, &str>` is not satisfied
|
||||
|
|
|
@ -29,6 +29,7 @@ error[E0277]: the trait bound `BadType: UriDisplay<rocket::http::uri::Query>` is
|
|||
| ^^^^^^^ the trait `UriDisplay<rocket::http::uri::Query>` is not implemented for `BadType`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `UriDisplay<rocket::http::uri::Query>` for `&BadType`
|
||||
= note: 1 redundant requirements hidden
|
||||
= note: required because of the requirements on the impl of `UriDisplay<rocket::http::uri::Query>` for `&&BadType`
|
||||
|
||||
error[E0277]: the trait bound `BadType: UriDisplay<rocket::http::uri::Query>` is not satisfied
|
||||
|
@ -38,6 +39,7 @@ error[E0277]: the trait bound `BadType: UriDisplay<rocket::http::uri::Query>` is
|
|||
| ^^^^^^^^^^^^^^ the trait `UriDisplay<rocket::http::uri::Query>` is not implemented for `BadType`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `UriDisplay<rocket::http::uri::Query>` for `&BadType`
|
||||
= note: 1 redundant requirements hidden
|
||||
= note: required because of the requirements on the impl of `UriDisplay<rocket::http::uri::Query>` for `&&BadType`
|
||||
|
||||
error[E0277]: the trait bound `BadType: UriDisplay<rocket::http::uri::Query>` is not satisfied
|
||||
|
@ -47,6 +49,7 @@ error[E0277]: the trait bound `BadType: UriDisplay<rocket::http::uri::Query>` is
|
|||
| ^^^^^^^^^^^^^^ the trait `UriDisplay<rocket::http::uri::Query>` is not implemented for `BadType`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `UriDisplay<rocket::http::uri::Query>` for `&BadType`
|
||||
= note: 1 redundant requirements hidden
|
||||
= note: required because of the requirements on the impl of `UriDisplay<rocket::http::uri::Query>` for `&&BadType`
|
||||
|
||||
error[E0277]: the trait bound `BadType: UriDisplay<rocket::http::uri::Path>` is not satisfied
|
||||
|
|
Loading…
Reference in New Issue