about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2021-08-16 15:42:52 -0400
committerJason Newcomb <jsnewcomb@pm.me>2021-08-16 16:12:00 -0400
commit8b3ca9a315aeb9ece9ca9df27e69f581629c51aa (patch)
treeb8476cecfd22b172cbd076e2cfb98b4b0ab17de2 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent983e5b877ef82f84bd463d74ba6035d75c456d73 (diff)
downloadrust-8b3ca9a315aeb9ece9ca9df27e69f581629c51aa.tar.gz
rust-8b3ca9a315aeb9ece9ca9df27e69f581629c51aa.zip
Fix `option_if_let_else`
* `break` and `continue` statments local to the would-be closure are allowed
* don't lint in const contexts
* don't lint when yield expressions are used
* don't lint when the captures made by the would-be closure conflict with the other branch
* don't lint when a field of a local is used when the type could be pontentially moved from
* in some cases, don't lint when scrutinee expression conflicts with the captures of the would-be closure
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions