mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-14 10:53:20 +00:00
Because it takes an error code after the span. This avoids the confusing overlap with the `DiagCtxt::struct_span_err` method, which doesn't take an error code.