This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
const-float-algebraic
rust
/
tests
/
pretty
/
example2.rs
4 lines
39 B
Rust
Raw
Permalink
Normal View
History
Unescape
Escape
[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives
2024-02-22 12:10:29 +00:00
//@ pp-exact:example2.pp
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 14:10:59 -07:00
Pretty print empty blocks as {}
2021-12-01 11:45:14 -08:00
fn
main
(
)
{
}
Reference in a new issue
Copy permalink