mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
3591e77b35
Prior to the previous commit, `#[rust_lint_diagnostics]` attributes could only be used on methods with an `impl Into<{D,Subd}iagMessage>` parameter. But there are many other nearby diagnostic methods (e.g. `Diag::span`) that don't take such a parameter and should have the attribute. This commit adds the missing attribute to these `Diag` methods. This requires adding some missing `#[allow(rustc::diagnostic_outside_of_impl)]` markers at call sites to these methods. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |