blob: 4af82924c7b4a6e0c15e5f0d8d25365b47af6670 [file] [log] [blame]
#[prelude_import]
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
//@ compile-flags: -Zunpretty=hir -Zflatten-format-args=yes
//@ check-pass
//@ edition: 2015
fn main() {
let x = 1;
// Should flatten to println!("a 123 b {x} xyz\n"):
{
::std::io::_print({
super let args = [format_argument::new_display(&x)];
format_arguments::new_v1(&["a 123 b ", " xyz\n"], &args)
});
};
}