diff options
| author | bors <bors@rust-lang.org> | 2022-08-18 20:37:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-18 20:37:50 +0000 |
| commit | 09118da54fa6498eef98533e2156d24958d4a79f (patch) | |
| tree | 4714553cf6f04ef0ac3ab3c7004b0ad9cb1dd63b /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff | |
| parent | 46da7485023e2b09b76039071d4969334aabbe91 (diff) | |
| parent | 7397c8e9cf73ff338c0e00a64a4de66fd9553df3 (diff) | |
| download | rust-09118da54fa6498eef98533e2156d24958d4a79f.tar.gz rust-09118da54fa6498eef98533e2156d24958d4a79f.zip | |
Auto merge of #2454 - saethlin:diagnostics-cleanup, r=RalfJung
Improve information sharing across SB diagnostics Previous Stacked Borrows diagnostics were missing a lot of information about the state of the interpreter, and it was difficult to add additional state because it was threaded through all the intervening function signatures. This change factors a lot of the arguments which used to be passed individually to many stacked borrows functions into a single `DiagnosticCx`, which is built in `Stacks::for_each`, and since it wraps a handle to `AllocHistory`, we can now handle more nuanced things like heterogeneous borrow of `!Freeze` types.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
