mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
dd104ef163
Replace all `&DiagCtxt` with a `DiagCtxtHandle<'_>` wrapper type r? `@davidtwco` This paves the way for tracking more state (e.g. error tainting) in the diagnostic context handle Basically I will add a field to the `DiagCtxtHandle` that refers back to the `InferCtxt`'s (and others) `Option<ErrorHandled>`, allowing us to immediately taint these contexts when emitting an error and not needing manual tainting anymore (which is easy to forget and we don't do in general anyway) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |