Still a bit janky, but much nicer than before and should make it easier to understand the output and spot bugs.
56F2YE6HUZ76U4QBPUDJ2VQLJ75TQYNTVQIOX4QBOZ2H6GJKRGUQC
3C3CHSY5FETUIE7W2VQ5V62GJNE3MW2WUM7GJDUFWSDB4WKNFR2AC
O77KA6C4UJGZXVGPEA7WCRQH6XYQJPWETSPDXI3VOKOSRQND7JEQC
UKFEFT6LSI4K7X6UHQFZYD52DILKXMZMYSO2UYS2FCHNPXIF4BEQC
dbg!(syn_expressions);
let file_contents = quote! { #(#syn_expressions)*; }; let mock_file = syn::parse_file(file_contents.to_string().as_str()).unwrap(); let formatted = prettyplease::unparse(&mock_file); println!("{formatted}");
let file_contents = quote! {
#(#syn_expressions)*;
};
let mock_file = syn::parse_file(file_contents.to_string().as_str()).unwrap();
let formatted = prettyplease::unparse(&mock_file);
println!("{formatted}");
[dev-dependencies]prettyplease = "0.2.16"
[dev-dependencies]
prettyplease = "0.2.16"
"prettyplease",
name = "prettyplease"version = "0.2.16"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5"dependencies = [ "proc-macro2", "syn",][[package]]
name = "prettyplease"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5"
dependencies = [
"proc-macro2",
"syn",
]
[[package]]