Files
rust/tests/ui/impl-trait/precise-capturing
Nicholas Nethercote 82ddf4c8d2 Change "the following changes may resolve your lifetime errors" diagnostic
It's currently a spanless top-level help diagnostic. This commit changes
it to an error (with one or more help subdiagnostics), gives it a span,
and changes the wording.

Note that giving it a span means that deduplication will no longer
erroneously hide diagnostics with identical wording from different
functions! Because of this, several "duplicate diagnostic" mentions are
removed from the expected outputs.

It's still a weird diagnostic (and now counts towards the error count)
but it's better than before.

This also removes the one use of buffered non-error diagnostics. So
`BufferedDiag` is also removed.
2026-09-17 15:54:09 +10:00
..
…
…