rust/src/test/ui/interior-mutability
Joshua Nelson 1deca0425d Greatly improve error reporting for futures and generators in note_obligation_cause_code
Most futures don't go through this code path, because they're caught by
`maybe_note_obligation_cause_for_async_await`. But all generators do,
and `maybe_note` is imperfect and doesn't catch all futures. Improve the error message for those it misses.

At some point, we may want to consider unifying this with the code for `maybe_note_async_await`,
so that `async_await` notes all parent constraints, and `note_obligation` can point to yield points.
But both functions are quite complicated, and it's not clear to me how to combine them;
this seems like a good incremental improvement.
2022-06-19 15:31:22 -05:00
..
interior-mutability.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
interior-mutability.stderr Greatly improve error reporting for futures and generators in note_obligation_cause_code 2022-06-19 15:31:22 -05:00