Skip to content

Commit 147f3a5

Browse files
committed
Update ui test suite to nightly-2025-06-23
1 parent 93caf1a commit 147f3a5

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

tests/ui/missing-display.stderr

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ 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-
| ^^^^^^^ `MyError` cannot be formatted with the default formatter
7+
| ^^^^^^^ the trait `std::fmt::Display` is not implemented for `MyError`
88
|
9-
= help: the trait `std::fmt::Display` is not implemented for `MyError`
10-
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
119
note: required by a bound in `std::error::Error`
1210
--> $RUST/core/src/error.rs
1311
|

tests/ui/no-display.stderr

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,4 @@ error[E0277]: the trait bound `NoDisplay: Octal` is not satisfied
3838
i32
3939
and $N others
4040
= note: required for `&NoDisplay` to implement `Octal`
41-
note: required by a bound in `core::fmt::rt::Argument::<'_>::new_octal`
42-
--> $RUST/core/src/fmt/rt.rs
43-
|
44-
| pub const fn new_octal<T: Octal>(x: &T) -> Argument<'_> {
45-
| ^^^^^ required by this bound in `Argument::<'_>::new_octal`
4641
= note: this error originates in the macro `$crate::format_args` which comes from the expansion of the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)