about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2025-02-06 20:51:41 +0000
committerGitHub <noreply@github.com>2025-02-06 20:51:41 +0000
commit888365d7e5a820176107d16f39b0cac5b0979511 (patch)
tree6f1459606160f3ebcb45625e2e1f937c2421aaf1 /tests/codegen/patchable-function-entry
parent7cda242e3ce3eaf59223f3921e7eb53b15c9e2a5 (diff)
parentb8275293bab64910de43919d114e5ba8ff8619a5 (diff)
downloadrust-888365d7e5a820176107d16f39b0cac5b0979511.tar.gz
rust-888365d7e5a820176107d16f39b0cac5b0979511.zip
Don't use labeled block as top-level blocks (#14102)
Labeled blocks cannot be used as-is in the "then" or "else" part of an
`if` expression. They must be enclosed in an anonymous block.

Fix #14099

changelog: [`match_bool`]: fix suggestion when the rewritten block has a
label
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions