about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-12-19 00:17:01 +0000
committerGitHub <noreply@github.com>2021-12-19 00:17:01 +0000
commit638cc3e59f09b20e6ca6965ab1f3936e2467c497 (patch)
tree73e539b8e8cf3ccdda602b64754445c5ae093b66 /src/test/codegen/src-hash-algorithm
parentb65d9c3e62a55028236be84995d1ba43462f4a5c (diff)
parentb289f13c7593f28846d506719002d48ab35a4cb2 (diff)
downloadrust-638cc3e59f09b20e6ca6965ab1f3936e2467c497.tar.gz
rust-638cc3e59f09b20e6ca6965ab1f3936e2467c497.zip
Merge #11054
11054: fix #11049 by removing double trimming r=Veykril a=Heinenen

The `unwrap_trivial_block()` removes the braces around trivial blocks (as the name suggests). This violates the precondition of `update_expr_string()` which removes the first and the last non-whitespace character and thus expects braces to still exist around all blocks.

Co-authored-by: ucrhh <ucrrh@sutdent.kit.edu>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions