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
..
2024-03-05 17:11:42 +11:00
2024-03-02 20:13:24 +01:00
2024-03-06 14:19:01 +11:00
2024-03-06 14:19:01 +11:00
2024-03-02 10:09:36 +01:00
2024-03-06 14:19:01 +11:00
2024-03-06 14:19:38 +11:00
2024-03-05 12:15:10 +11:00
2024-03-04 16:13:50 +00:00
2024-03-03 22:21:53 +00:00
2024-03-03 22:21:53 +00:00
2024-03-05 02:58:34 +00:00
2024-03-06 14:19:01 +11:00
2024-03-04 22:16:30 +01:00
2024-03-06 14:19:01 +11:00
2024-03-02 10:09:35 +01:00
2024-03-05 12:14:49 +11:00
2024-03-06 14:19:38 +11:00
2024-03-06 14:19:01 +11:00
2024-03-06 14:19:01 +11:00
2024-03-05 12:14:49 +11:00
2024-03-01 13:59:06 -05:00
2024-03-05 02:58:34 +00:00
2024-03-05 02:58:34 +00:00
2024-03-05 08:11:45 +11:00
2024-03-05 12:14:49 +11:00
2024-03-06 14:19:01 +11:00
2024-03-06 14:19:01 +11:00
2024-03-05 12:15:10 +11:00
2024-03-01 18:50:40 -08:00
2024-03-03 12:33:26 +01:00
2024-03-05 12:14:49 +11:00
2024-03-06 14:19:01 +11:00
2024-03-05 17:11:42 +11:00
2024-03-05 12:14:49 +11:00
2024-03-04 16:13:50 +00:00
2024-03-05 02:58:34 +00:00
2024-03-04 16:13:51 +00:00
2024-03-04 15:39:59 +00:00
2024-03-05 12:15:10 +11:00
2024-03-06 14:19:38 +11:00
2024-03-05 12:14:49 +11:00
2024-03-03 21:12:04 +01:00
2024-03-05 12:15:13 +11:00
2024-03-06 14:19:38 +11:00
2024-03-01 11:16:35 -08:00
2024-03-05 02:58:34 +00:00
2024-03-02 20:13:24 +01:00
2024-03-04 18:55:14 +00:00
2024-03-05 12:14:49 +11:00
2024-03-04 16:28:33 +00:00
2024-03-04 15:39:59 +00:00
2024-03-01 11:16:35 -08:00