rust/compiler/rustc_borrowck
Nicholas Nethercote 3591e77b35 Add missing #[rustc_lint_diagnostics] attributes.
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.
2024-03-06 14:19:38 +11:00
..
src Add missing #[rustc_lint_diagnostics] attributes. 2024-03-06 14:19:38 +11:00
Cargo.toml
messages.ftl require simd_insert, simd_extract indices to be constants 2024-02-20 07:50:46 +01:00