about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-17 03:08:36 +0200
committerGitHub <noreply@github.com>2019-09-17 03:08:36 +0200
commit69e93e81792aec04dc5bf3f9832a24aa7e30ddbd (patch)
treee71a53791750551c4452510b44271c1d2e17babe /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
parentaeb32f01b674e383d240b3a173d6d9bc29c7a6ad (diff)
parent2a774b1e6bfda649f75dcc6d32502100f8420a3a (diff)
downloadrust-69e93e81792aec04dc5bf3f9832a24aa7e30ddbd.tar.gz
rust-69e93e81792aec04dc5bf3f9832a24aa7e30ddbd.zip
Rollup merge of #64416 - mark-i-m:region-naming-ctx, r=estebank
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.

r? @estebank

Split out from https://github.com/rust-lang/rust/pull/58281
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions