ruff
bd5b8a9e - ruff_db: tweak APIs accepting a diagnostic message

Commit
157 days ago
ruff_db: tweak APIs accepting a diagnostic message This expands the set of types accepted for diagnostic messages. Instead of only `std::fmt::Display` impls, we now *also* accept a concrete `DiagnosticMessage`. This will be useful to avoid unnecessary copies of every single diagnostic message created via `InferContext::report_lint`. (I'll call out how this helps in a subsequent commit.)
Author
Committer
Parents
Loading