From 2a493683135ebcc34df34a4ed1eea532fac1895f Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 9 Feb 2021 17:17:44 -0800 Subject: [PATCH] Update UI tests for latest nightly. --- .../ui-fail-nightly/responder-types.stderr | 2 +- .../ui-fail-nightly/typed-uri-bad-type.stderr | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/core/codegen/tests/ui-fail-nightly/responder-types.stderr b/core/codegen/tests/ui-fail-nightly/responder-types.stderr index 4d871850..1c842144 100644 --- a/core/codegen/tests/ui-fail-nightly/responder-types.stderr +++ b/core/codegen/tests/ui-fail-nightly/responder-types.stderr @@ -53,4 +53,4 @@ error[E0277]: the trait bound `usize: Responder<'_, '_>` is not satisfied 28 | fn foo() -> usize { 0 } | ^^^^^ the trait `Responder<'_, '_>` is not implemented for `usize` | - = note: required by `handler::, Status, rocket::Data>>::from` + = note: required by `handler::, Status, rocket::Data>>::from` diff --git a/core/codegen/tests/ui-fail-nightly/typed-uri-bad-type.stderr b/core/codegen/tests/ui-fail-nightly/typed-uri-bad-type.stderr index a6cb72a1..b3089623 100644 --- a/core/codegen/tests/ui-fail-nightly/typed-uri-bad-type.stderr +++ b/core/codegen/tests/ui-fail-nightly/typed-uri-bad-type.stderr @@ -55,11 +55,11 @@ error[E0277]: the trait bound `i32: FromUriParam>` for `std::option::Option` = note: required by `from_uri_param` -error[E0277]: the trait bound `std::string::String: FromUriParam>` is not satisfied +error[E0277]: the trait bound `std::string::String: FromUriParam>` is not satisfied --> $DIR/typed-uri-bad-type.rs:53:43 | 53 | uri!(optionals: id = Some(10), name = Ok("bob".into())); - | ^^^^^^^^^^^^^^^^ the trait `FromUriParam>` is not implemented for `std::string::String` + | ^^^^^^^^^^^^^^^^ the trait `FromUriParam>` is not implemented for `std::string::String` | = help: the following implementations were found: > @@ -67,7 +67,7 @@ error[E0277]: the trait bound `std::string::String: FromUriParam> > and 2 others - = note: required because of the requirements on the impl of `FromUriParam>` for `std::result::Result` + = note: required because of the requirements on the impl of `FromUriParam>` for `Result` = note: required by `from_uri_param` error[E0277]: the trait bound `isize: FromUriParam` is not satisfied @@ -158,18 +158,18 @@ error[E0277]: the trait bound `std::option::Option: FromUriParam as FromUriParam> + as FromUriParam>> as FromUriParam>> - as FromUriParam>> = note: required by `from_uri_param` -error[E0277]: the trait bound `std::result::Result: FromUriParam` is not satisfied +error[E0277]: the trait bound `Result: FromUriParam` is not satisfied --> $DIR/typed-uri-bad-type.rs:69:39 | 69 | uri!(optionals_q: id = 10, name = "Bob".to_string()); - | ^^^^^^^^^^^^^^^^^ the trait `FromUriParam` is not implemented for `std::result::Result` + | ^^^^^^^^^^^^^^^^^ the trait `FromUriParam` is not implemented for `Result` | = help: the following implementations were found: - as FromUriParam> - as FromUriParam>> - as FromUriParam>> + as FromUriParam> + as FromUriParam>> + as FromUriParam>> = note: required by `from_uri_param`