about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-21 17:42:19 +0000
committerbors <bors@rust-lang.org>2015-08-21 17:42:19 +0000
commit8f1b0aa32552f2e694aa8702ff2cd6d9a0e894f1 (patch)
treefe9d4158b137aa84209eca234699188ee9de7fbd /src/libstd
parentb1d07bbe701641e3841c81da808159ef1710f70e (diff)
parent22baa46f784856b6d6bb4374bcc3fb4b66bb8097 (diff)
downloadrust-8f1b0aa32552f2e694aa8702ff2cd6d9a0e894f1.tar.gz
rust-8f1b0aa32552f2e694aa8702ff2cd6d9a0e894f1.zip
Auto merge of #27613 - GSam:binop, r=nrc
In the case where there are no paren in the AST, the pretty printer doesn't correctly print binary operations where precedence is concerned. Parenthesis may be missing due to some kind of expansion or manipulation of the AST. 

Example:
Pretty printer prints Expr(*, Expr(+, 1, 1), 2) as 1 + 1 * 2, as opposed to (1 + 1) * 2

r? @nrc
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions