diff options
| author | Eric Holk <ericholk@microsoft.com> | 2021-12-17 15:05:38 -0800 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2022-01-18 14:25:30 -0800 |
| commit | 887e843eeb35e9cc78884e9d5feacf914377f355 (patch) | |
| tree | 4bf7fe5deefcc60123204003c0a5e0d526247cda /src/test/codegen/src-hash-algorithm | |
| parent | 787f4cbd15b91e88d757bf3f1ac1dadfa0e8ec5a (diff) | |
| download | rust-887e843eeb35e9cc78884e9d5feacf914377f355.tar.gz rust-887e843eeb35e9cc78884e9d5feacf914377f355.zip | |
Update async-fn-nonsend.rs
The previous commit made the non_sync_with_method_call case pass due to the await being unreachable. Unfortunately, this isn't actually the behavior the test was verifying. This change lifts the panic into a helper function so that the generator analysis still thinks the await is reachable, and therefore we preserve the same testing behavior.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
