mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-19 23:50:32 +00:00
Apply the `#[rustc_lint_diagnostics]` attribute to `LintDiagnosticBuilder::build` so that diagnostic migration lints will trigger for it. Signed-off-by: David Wood <david.wood@huawei.com>