Skip to content

Commit 0717de3

Browse files
committed
Update ui test suite to nightly-2024-02-08
1 parent c7c7547 commit 0717de3

5 files changed

+15
-0
lines changed

tests/ui/no-display.stderr

+3
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ note: the trait `std::fmt::Display` must be implemented
1515
|
1616
| pub trait Display {
1717
| ^^^^^^^^^^^^^^^^^
18+
= help: items from traits can only be used if the trait is implemented and in scope
19+
= note: the following trait defines an item `as_display`, perhaps you need to implement it:
20+
candidate #1: `AsDisplay`

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

+3
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ note: the trait `std::error::Error` must be implemented
1717
|
1818
| pub trait Error: Debug + Display {
1919
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20+
= help: items from traits can only be used if the trait is implemented and in scope
21+
= note: the following trait defines an item `as_dyn_error`, perhaps you need to implement it:
22+
candidate #1: `AsDynError`

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

+3
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ note: the trait `std::error::Error` must be implemented
1717
|
1818
| pub trait Error: Debug + Display {
1919
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20+
= help: items from traits can only be used if the trait is implemented and in scope
21+
= note: the following trait defines an item `as_dyn_error`, perhaps you need to implement it:
22+
candidate #1: `AsDynError`

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

+3
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ note: the trait `std::error::Error` must be implemented
1515
|
1616
| pub trait Error: Debug + Display {
1717
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18+
= help: items from traits can only be used if the trait is implemented and in scope
19+
= note: the following trait defines an item `as_dyn_error`, perhaps you need to implement it:
20+
candidate #1: `AsDynError`

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

+3
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ note: the trait `std::error::Error` must be implemented
1515
|
1616
| pub trait Error: Debug + Display {
1717
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18+
= help: items from traits can only be used if the trait is implemented and in scope
19+
= note: the following trait defines an item `as_dyn_error`, perhaps you need to implement it:
20+
candidate #1: `AsDynError`

0 commit comments

Comments
 (0)