Replace #[lint/warning/error] with #[diag]

This commit is contained in:
Xiretza 2022-08-19 15:40:48 +02:00
parent bd0d3f745d
commit 7f3a6fd7f6
16 changed files with 446 additions and 390 deletions

View file

@ -129,9 +129,6 @@ decl_derive!([Lift, attributes(lift)] => lift::lift_derive);
decl_derive!(
[SessionDiagnostic, attributes(
// struct attributes
warning,
error,
lint,
diag,
help,
note,
@ -149,9 +146,6 @@ decl_derive!(
decl_derive!(
[LintDiagnostic, attributes(
// struct attributes
warning,
error,
lint,
diag,
help,
note,