Skip to content

Commit 470e6a6

Browse files
committed
Update ui test suite to nightly-2025-08-24
1 parent 544e191 commit 470e6a6

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

tests/ui/missing-display.stderr

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ error[E0277]: `MyError` doesn't implement `std::fmt::Display`
44
3 | #[derive(Error, Debug)]
55
| ----- in this derive macro expansion
66
4 | pub enum MyError {
7-
| ^^^^^^^ the trait `std::fmt::Display` is not implemented for `MyError`
7+
| ^^^^^^^ unsatisfied trait bound
88
|
9+
help: the trait `std::fmt::Display` is not implemented for `MyError`
10+
--> tests/ui/missing-display.rs:4:1
11+
|
12+
4 | pub enum MyError {
13+
| ^^^^^^^^^^^^^^^^
914
note: required by a bound in `std::error::Error`
1015
--> $RUST/core/src/error.rs
1116
|

tests/ui/no-display.stderr

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@ error[E0277]: the trait bound `NoDisplay: Octal` is not satisfied
2525
12 | #[derive(Error, Debug)]
2626
| ----- in this derive macro expansion
2727
13 | #[error("thread: {thread:o}")]
28-
| ^^^^^^^^^^^^^^^^^^^^ the trait `Octal` is not implemented for `NoDisplay`
28+
| ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
2929
|
30+
help: the trait `Octal` is not implemented for `NoDisplay`
31+
--> tests/ui/no-display.rs:4:1
32+
|
33+
4 | struct NoDisplay;
34+
| ^^^^^^^^^^^^^^^^
3035
= help: the following other types implement trait `Octal`:
3136
&T
3237
&mut T

0 commit comments

Comments
 (0)