summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2023-04-15 14:43:20 -0700
committerEric Huss <eric@huss.org>2023-04-15 14:43:20 -0700
commitd7ed5a52ffcffccba62155968701c94e46e61fe8 (patch)
tree755bdceb9a366173e79b0863aac93397445803d8 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentfd57c6b407d5f038060d7b94ce9af22ea4b0dcf0 (diff)
downloadrust-d7ed5a52ffcffccba62155968701c94e46e61fe8.tar.gz
Unignore closure-bang.
This test was ignored long ago in https://github.com/rust-lang/rust/pull/20578/ when the syntax for closures was changed. The current status is that a closure with an explicit `!` return type will trigger the `unreachable_code` lint which appears to be the original intent of the test (https://github.com/rust-lang/rust/pull/16836). A closure without a return type won't trigger the lint since the `!` type isn't inferred (AFAIK). This restores the test to its original form.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions