diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2014-12-08 09:14:00 +0200 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2014-12-08 09:14:21 +0200 |
| commit | 15ca63081b384bfcf43d5a065298bb6fbf2cbfe0 (patch) | |
| tree | 86643063d53963de1d9354b2c15a38205cacbf2e | |
| parent | fe4fdcc0f67272de0c9f40da8b699a48bffb719f (diff) | |
| download | rust-15ca63081b384bfcf43d5a065298bb6fbf2cbfe0.tar.gz rust-15ca63081b384bfcf43d5a065298bb6fbf2cbfe0.zip | |
test: adjust pretty/issue-4264 for formatting changes.
| -rw-r--r-- | src/test/pretty/issue-4264.pp | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/src/test/pretty/issue-4264.pp b/src/test/pretty/issue-4264.pp index 94a168a74eb..8a2c2d35ef5 100644 --- a/src/test/pretty/issue-4264.pp +++ b/src/test/pretty/issue-4264.pp @@ -41,20 +41,6 @@ pub fn bar() { static __STATIC_FMTSTR: &'static [&'static str] = (&([("test" as &'static str)] as [&'static str, ..1]) as &'static [&'static str, ..1]); - let __args_vec = - (&([] as [core::fmt::Argument<'_>, ..0]) as - &[core::fmt::Argument<'_>, ..0]); - let __args = - (unsafe { - ((::std::fmt::Arguments::new as - unsafe fn(&'static [&'static str], &'a [core::fmt::Argument<'a>]) -> core::fmt::Arguments<'a>)((__STATIC_FMTSTR - as - &'static [&'static str]), - (__args_vec - as - &[core::fmt::Argument<'_>, ..0])) - as core::fmt::Arguments<'_>) - } as core::fmt::Arguments<'_>); @@ -64,7 +50,16 @@ pub fn bar() { ((::std::fmt::format as - fn(&core::fmt::Arguments<'_>) -> collections::string::String)((&(__args + fn(&core::fmt::Arguments<'_>) -> collections::string::String)((&((::std::fmt::Arguments::new + as + fn(&'a [&'a str], &'a [core::fmt::Argument<'a>]) -> core::fmt::Arguments<'a>)((__STATIC_FMTSTR + as + &'static [&'static str]), + (&([] + as + [core::fmt::Argument<'_>, ..0]) + as + &[core::fmt::Argument<'_>, ..0])) as core::fmt::Arguments<'_>) as |
