blob: 705dded169a1910dfb9c204a2c3dfb4c8f881dfe (
plain)
1
2
3
4
5
6
7
8
|
// compile-flags: -Zunpretty=hir -Zflatten-format-args=yes
// check-pass
fn main() {
let x = 1;
// Should flatten to println!("a 123 b {x} xyz\n"):
println!("a {} {}", format_args!("{} b {x}", 123), "xyz");
}
|