Skip to content

Commit db78fa2

Browse files
committed
Update ui test suite to nightly-2022-12-15
1 parent c25a710 commit db78fa2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/ui/no-display.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ error[E0599]: the method `as_display` exists for reference `&NoDisplay`, but its
1010
= note: the following trait bounds were not satisfied:
1111
`NoDisplay: std::fmt::Display`
1212
which is required by `&NoDisplay: DisplayAsDisplay`
13-
note: the following trait must be implemented
13+
note: the trait `std::fmt::Display` must be implemented
1414
--> $RUST/core/src/fmt/mod.rs
1515
|
1616
| pub trait Display {

tests/ui/source-enum-not-error.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ error[E0599]: the method `as_dyn_error` exists for reference `&NotError`, but it
1515
which is required by `NotError: AsDynError<'_>`
1616
`&NotError: std::error::Error`
1717
which is required by `&NotError: AsDynError<'_>`
18-
note: the following trait must be implemented
18+
note: the trait `std::error::Error` must be implemented
1919
--> $RUST/core/src/error.rs
2020
|
2121
| pub trait Error: Debug + Display {

tests/ui/source-struct-not-error.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ error[E0599]: the method `as_dyn_error` exists for struct `NotError`, but its tr
1414
= note: the following trait bounds were not satisfied:
1515
`NotError: std::error::Error`
1616
which is required by `NotError: AsDynError<'_>`
17-
note: the following trait must be implemented
17+
note: the trait `std::error::Error` must be implemented
1818
--> $RUST/core/src/error.rs
1919
|
2020
| pub trait Error: Debug + Display {

0 commit comments

Comments
 (0)