about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/lib.rs
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2022-08-19 15:40:48 +0200
committerXiretza <xiretza@xiretza.xyz>2022-08-21 09:17:43 +0200
commit7f3a6fd7f6c04635f3d541201199f127f2a2e65e (patch)
tree4b9be1a4a7d5610f9ad2b58054724d900de1ee42 /compiler/rustc_macros/src/lib.rs
parentbd0d3f745d40c9de9c5dbc24dc7f8fb64ceb5575 (diff)
downloadrust-7f3a6fd7f6c04635f3d541201199f127f2a2e65e.tar.gz
rust-7f3a6fd7f6c04635f3d541201199f127f2a2e65e.zip
Replace #[lint/warning/error] with #[diag]
Diffstat (limited to 'compiler/rustc_macros/src/lib.rs')
-rw-r--r--compiler/rustc_macros/src/lib.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_macros/src/lib.rs b/compiler/rustc_macros/src/lib.rs
index fe4ff2fb6aa..87d7ab6ed51 100644
--- a/compiler/rustc_macros/src/lib.rs
+++ b/compiler/rustc_macros/src/lib.rs
@@ -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,