Bless pretty tests.

This commit is contained in:
Mara Bos 2023-01-11 22:33:13 +01:00
parent a1725fa1d5
commit 7a3d5fe842
2 changed files with 2 additions and 4 deletions

View File

@ -8,6 +8,4 @@ extern crate std;
// pretty-mode:expanded
// pp-exact:dollar-crate.pp
fn main() {
{ ::std::io::_print(::core::fmt::Arguments::new_v1(&["rust\n"], &[])); };
}
fn main() { { ::std::io::_print(format_args!("rust\n")); }; }

View File

@ -32,7 +32,7 @@ fn bar() ({
({
let res =
((::alloc::fmt::format as
for<'a> fn(Arguments<'a>) -> String {format})(((::core::fmt::Arguments::new_v1
for<'a> fn(Arguments<'a>) -> String {format})(((<#[lang = "format_arguments"]>::new_v1
as
fn(&[&'static str], &[ArgumentV1<'_>]) -> Arguments<'_> {Arguments::<'_>::new_v1})((&([("test"
as &str)] as [&str; 1]) as &[&str; 1]),