Skip to content

Commit 15ca630

Browse files
committed
test: adjust pretty/issue-4264 for formatting changes.
1 parent fe4fdcc commit 15ca630

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

src/test/pretty/issue-4264.pp

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,6 @@
4141
static __STATIC_FMTSTR: &'static [&'static str] =
4242
(&([("test" as &'static str)] as [&'static str, ..1]) as
4343
&'static [&'static str, ..1]);
44-
let __args_vec =
45-
(&([] as [core::fmt::Argument<'_>, ..0]) as
46-
&[core::fmt::Argument<'_>, ..0]);
47-
let __args =
48-
(unsafe {
49-
((::std::fmt::Arguments::new as
50-
unsafe fn(&'static [&'static str], &'a [core::fmt::Argument<'a>]) -> core::fmt::Arguments<'a>)((__STATIC_FMTSTR
51-
as
52-
&'static [&'static str]),
53-
(__args_vec
54-
as
55-
&[core::fmt::Argument<'_>, ..0]))
56-
as core::fmt::Arguments<'_>)
57-
} as core::fmt::Arguments<'_>);
5844

5945

6046

@@ -64,7 +50,16 @@
6450

6551

6652
((::std::fmt::format as
67-
fn(&core::fmt::Arguments<'_>) -> collections::string::String)((&(__args
53+
fn(&core::fmt::Arguments<'_>) -> collections::string::String)((&((::std::fmt::Arguments::new
54+
as
55+
fn(&'a [&'a str], &'a [core::fmt::Argument<'a>]) -> core::fmt::Arguments<'a>)((__STATIC_FMTSTR
56+
as
57+
&'static [&'static str]),
58+
(&([]
59+
as
60+
[core::fmt::Argument<'_>, ..0])
61+
as
62+
&[core::fmt::Argument<'_>, ..0]))
6863
as
6964
core::fmt::Arguments<'_>)
7065
as

0 commit comments

Comments
 (0)