mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
4864cb8aef
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.