mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
de303b87c9
We can just get the error level in the `match` and then use `DiagnosticBuilder::new`. This then means a number of `DiagCtxt` functions are no longer needed, because this was the one place that used them. Note: the commit changes the treatment of spans for `Expect`, which was different to all the other cases, but this has no apparent effect. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |