David Tolnay
f0f7b8d44a
Pretty print break and continue without redundant space
2021-12-08 14:35:20 -08:00
David Tolnay
b516a8c5cb
Pretty print empty blocks as {}
2021-12-01 13:50:13 -08:00
Yuki Okushi
de93434cf0
Rollup merge of #86358 - klensy:pp-loop, r=Mark-Simulacrum
...
fix pretty print for `loop`
2021-06-29 00:26:55 +09:00
klensy
ac72773215
fix pretty print for loop
in mir and hir
2021-06-23 11:49:08 +03:00
Felix S. Klock II
8ce761d75e
Updates to tests.
2021-05-11 15:21:54 -04:00
Vadim Petrochenkov
1443c7646d
parser: Remove support for inner attributes on non-block expressions
2021-05-03 13:33:53 +03:00
sd234678
56ebd57960
Remove meaningless comments in src/test
2019-08-16 10:54:20 +01:00
Vadim Petrochenkov
a2a1cd1864
pprust: Fix formatting regressions from the previous commits
...
Fix some remaining cases of bad formatting
Update some failing tests
2019-07-15 12:42:07 +03:00
Vadim Petrochenkov
11585b598c
pprust: Use print_mac_common
for delimited token groups
2019-07-15 12:42:07 +03:00
Vadim Petrochenkov
500b00127b
pprust: Use print_mac_common
for macro_rules
definitions
2019-07-15 12:42:07 +03:00
Vadim Petrochenkov
ea4ad555d7
Introduce #[rustc_dummy]
attribute and use it in tests
...
Unlike other built-in attributes, this attribute accepts any input
2019-06-08 23:55:25 +03:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Aidan Hobson Sayers
9b5859aea1
Remove all unstable placement features
...
Closes #22181 , #27779
2018-04-03 11:02:34 +02:00
Matthias Krüger
4452446292
fix more typos found by codespell.
2018-02-17 17:38:49 +01:00
Eduard Burtescu
8e9106c531
tests: fix fallout in pretty-printing output exact-match tests.
2016-11-10 01:44:53 +02:00
Marvin Löbel
296c3613ca
Added stmt_expr_attribute feature gate
2015-11-26 21:47:44 +01:00
Marvin Löbel
2a8f358de7
Add syntax support for attributes on expressions and all syntax
...
nodes in statement position.
Extended #[cfg] folder to allow removal of statements, and
of expressions in optional positions like expression lists and trailing
block expressions.
Extended lint checker to recognize lint levels on expressions and
locals.
2015-11-26 21:46:12 +01:00