Skip to content

Commit

Permalink
Update ui test suite to nightly-2022-12-15
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 15, 2022
1 parent c25a710 commit db78fa2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/ui/no-display.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/source-enum-not-error.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/source-struct-not-error.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit db78fa2

Please sign in to comment.