about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/expr.rs
diff options
context:
space:
mode:
authorMark Mansi <markm@cs.wisc.edu>2019-09-12 16:43:36 -0500
committerMark Mansi <markm@cs.wisc.edu>2019-09-12 16:43:36 -0500
commit68b1a8741ebffde9e1bca054569211f66e3deea3 (patch)
treea0ff7ff300ad6dbd91aede064ae8244f8ad9b521 /src/libsyntax/parse/parser/expr.rs
parenteb48d6bdee6c655d71f26594d47d232adf3e4e93 (diff)
downloadrust-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