Skip to content

Commit

Permalink
Update ui test suite to nightly-2024-02-08
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 8, 2024
1 parent c7c7547 commit 0717de3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/ui/no-display.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ note: the trait `std::fmt::Display` must be implemented
|
| pub trait Display {
| ^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `as_display`, perhaps you need to implement it:
candidate #1: `AsDisplay`
3 changes: 3 additions & 0 deletions tests/ui/source-enum-not-error.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ note: the trait `std::error::Error` must be implemented
|
| pub trait Error: Debug + Display {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `as_dyn_error`, perhaps you need to implement it:
candidate #1: `AsDynError`
3 changes: 3 additions & 0 deletions tests/ui/source-enum-unnamed-field-not-error.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ note: the trait `std::error::Error` must be implemented
|
| pub trait Error: Debug + Display {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `as_dyn_error`, perhaps you need to implement it:
candidate #1: `AsDynError`
3 changes: 3 additions & 0 deletions tests/ui/source-struct-not-error.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ note: the trait `std::error::Error` must be implemented
|
| pub trait Error: Debug + Display {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `as_dyn_error`, perhaps you need to implement it:
candidate #1: `AsDynError`
3 changes: 3 additions & 0 deletions tests/ui/source-struct-unnamed-field-not-error.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ note: the trait `std::error::Error` must be implemented
|
| pub trait Error: Debug + Display {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `as_dyn_error`, perhaps you need to implement it:
candidate #1: `AsDynError`

0 comments on commit 0717de3

Please sign in to comment.