From db78fa2cd88b5dd7fecadad55b17d0100fd43280 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 14 Dec 2022 18:29:48 -0800 Subject: [PATCH] Update ui test suite to nightly-2022-12-15 --- tests/ui/no-display.stderr | 2 +- tests/ui/source-enum-not-error.stderr | 2 +- tests/ui/source-struct-not-error.stderr | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ui/no-display.stderr b/tests/ui/no-display.stderr index 39338c0..76818e1 100644 --- a/tests/ui/no-display.stderr +++ b/tests/ui/no-display.stderr @@ -10,7 +10,7 @@ error[E0599]: the method `as_display` exists for reference `&NoDisplay`, but its = note: the following trait bounds were not satisfied: `NoDisplay: std::fmt::Display` which is required by `&NoDisplay: DisplayAsDisplay` -note: the following trait must be implemented +note: the trait `std::fmt::Display` must be implemented --> $RUST/core/src/fmt/mod.rs | | pub trait Display { diff --git a/tests/ui/source-enum-not-error.stderr b/tests/ui/source-enum-not-error.stderr index 29ee546..750c69e 100644 --- a/tests/ui/source-enum-not-error.stderr +++ b/tests/ui/source-enum-not-error.stderr @@ -15,7 +15,7 @@ error[E0599]: the method `as_dyn_error` exists for reference `&NotError`, but it which is required by `NotError: AsDynError<'_>` `&NotError: std::error::Error` which is required by `&NotError: AsDynError<'_>` -note: the following trait must be implemented +note: the trait `std::error::Error` must be implemented --> $RUST/core/src/error.rs | | pub trait Error: Debug + Display { diff --git a/tests/ui/source-struct-not-error.stderr b/tests/ui/source-struct-not-error.stderr index b5d8e51..b98460f 100644 --- a/tests/ui/source-struct-not-error.stderr +++ b/tests/ui/source-struct-not-error.stderr @@ -14,7 +14,7 @@ error[E0599]: the method `as_dyn_error` exists for struct `NotError`, but its tr = note: the following trait bounds were not satisfied: `NotError: std::error::Error` which is required by `NotError: AsDynError<'_>` -note: the following trait must be implemented +note: the trait `std::error::Error` must be implemented --> $RUST/core/src/error.rs | | pub trait Error: Debug + Display {