Skip to content

Commit 89fb343

Browse files
committed
Update ui test suite to nightly-2025-05-03
1 parent 95a5126 commit 89fb343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/no-display.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ error[E0277]: the trait bound `NoDisplay: Octal` is not satisfied
4141
note: required by a bound in `core::fmt::rt::Argument::<'_>::new_octal`
4242
--> $RUST/core/src/fmt/rt.rs
4343
|
44-
| pub fn new_octal<T: Octal>(x: &T) -> Argument<'_> {
45-
| ^^^^^ required by this bound in `Argument::<'_>::new_octal`
44+
| pub const fn new_octal<T: Octal>(x: &T) -> Argument<'_> {
45+
| ^^^^^ required by this bound in `Argument::<'_>::new_octal`
4646
= 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)