Skip to content

Commit 7a3d5fe

Browse files
committed
Bless pretty tests.
1 parent a1725fa commit 7a3d5fe

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/pretty/dollar-crate.pp

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@
88
// pretty-mode:expanded
99
// pp-exact:dollar-crate.pp
1010

11-
fn main() {
12-
{ ::std::io::_print(::core::fmt::Arguments::new_v1(&["rust\n"], &[])); };
13-
}
11+
fn main() { { ::std::io::_print(format_args!("rust\n")); }; }

tests/pretty/issue-4264.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
({
3333
let res =
3434
((::alloc::fmt::format as
35-
for<'a> fn(Arguments<'a>) -> String {format})(((::core::fmt::Arguments::new_v1
35+
for<'a> fn(Arguments<'a>) -> String {format})(((<#[lang = "format_arguments"]>::new_v1
3636
as
3737
fn(&[&'static str], &[ArgumentV1<'_>]) -> Arguments<'_> {Arguments::<'_>::new_v1})((&([("test"
3838
as &str)] as [&str; 1]) as &[&str; 1]),

0 commit comments

Comments
 (0)