diff options
| author | Mark Mansi <markm@cs.wisc.edu> | 2019-09-12 16:43:36 -0500 |
|---|---|---|
| committer | Mark Mansi <markm@cs.wisc.edu> | 2019-09-12 16:43:36 -0500 |
| commit | 68b1a8741ebffde9e1bca054569211f66e3deea3 (patch) | |
| tree | a0ff7ff300ad6dbd91aede064ae8244f8ad9b521 /src/libsyntax/parse/parser/expr.rs | |
| parent | eb48d6bdee6c655d71f26594d47d232adf3e4e93 (diff) | |
| download | rust-68b1a8741ebffde9e1bca054569211f66e3deea3.tar.gz rust-68b1a8741ebffde9e1bca054569211f66e3deea3.zip | |
Various refactorings to clean up nll diagnostics
- Create ErrorReportingCtx and ErrorConstraintInfo, vasting reducing the number of arguments passed around everywhere in the error reporting code - Create RegionErrorNamingCtx, making a given lifetime have consistent numbering thoughout all error messages for that MIR def. - Make the error reporting code return the DiagnosticBuilder rather than directly buffer the Diagnostic. This makes it easier to modify the diagnostic later, e.g. to add suggestions.
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
