diff options
| author | Eric Holk <ericholk@microsoft.com> | 2021-10-22 15:49:38 -0700 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2022-01-18 14:25:24 -0800 |
| commit | f664cfc47cdfaa83a1fd35e6e6a3fcdb692286ae (patch) | |
| tree | a39004501dedab6cb64ff855d376fc49d7071f5f /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | c4dee401700170c95c649682d62ad150d6b5fdeb (diff) | |
| download | rust-f664cfc47cdfaa83a1fd35e6e6a3fcdb692286ae.tar.gz rust-f664cfc47cdfaa83a1fd35e6e6a3fcdb692286ae.zip | |
Make generator and async-await tests pass
The main change needed to make this work is to do a pessimistic over- approximation for AssignOps. The existing ScopeTree analysis in region.rs works by doing both left to right and right to left order and then choosing the most conservative ordering. This behavior is needed because AssignOp's evaluation order depends on whether it is a primitive type or an overloaded operator, which runs as a method call. This change mimics the same behavior as region.rs in generator_interior.rs. Issue #57478
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
