Bless pretty tests.
This commit is contained in:
parent
a1725fa1d5
commit
7a3d5fe842
2 changed files with 2 additions and 4 deletions
|
@ -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")); }; }
|
||||
|
|
|
@ -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]),
|
||||
|
|
Loading…
Add table
Reference in a new issue