This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-04-28 19:17:43 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
14e59bb317
rust
/
tests
/
pretty
/
example2.rs
4 lines
38 B
Rust
Raw
Normal View
History
Unescape
Escape
Add dedicated pretty-printer tests with new pp-exact directive Add a new src/test/pretty directory to hold just source files for testing the pretty-printer. Add a new pp-exact directive. When this directive is followed by a file name it specifies a file containing the output that the pretty-printer should generate. When pp-exact is not followed by a filename it says that the file should pretty-print as written.
2011-08-01 21:10:59 +00:00
// pp-exact:example2.pp
Pretty print empty blocks as {}
2021-12-01 19:45:14 +00:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink