about summary refs log tree commit diff
path: root/src/libsyntax_pos
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-08-30 03:09:39 +0000
committerbors <bors@rust-lang.org>2019-08-30 03:09:39 +0000
commitc7d4df0fcfc3ed3ee98a430e451c6776e90d65ae (patch)
treea8c0a086a2829c37fca162af80cb2caef3ae0e0e /src/libsyntax_pos
parent72b2abfd65ba024e12d7fe51852a309419f494d8 (diff)
parent6978b9482b976d991dac1dc55a6effe1f697cd1f (diff)
downloadrust-c7d4df0fcfc3ed3ee98a430e451c6776e90d65ae.tar.gz
rust-c7d4df0fcfc3ed3ee98a430e451c6776e90d65ae.zip
Auto merge of #60966 - oli-obk:diagnostic_items, r=eddyb
Add a "diagnostic item" scheme for lints referring to libstd items

fixes https://github.com/rust-lang/rust/issues/39131

r? @Manishearth @rust-lang/wg-diagnostics
Diffstat (limited to 'src/libsyntax_pos')
-rw-r--r--src/libsyntax_pos/symbol.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs
index 8833e03c72b..f44716e013e 100644
--- a/src/libsyntax_pos/symbol.rs
+++ b/src/libsyntax_pos/symbol.rs
@@ -225,9 +225,10 @@ symbols! {
         custom_inner_attributes,
         custom_test_frameworks,
         c_variadic,
-        Debug,
+        debug_trait,
         declare_lint_pass,
         decl_macro,
+        Debug,
         Decodable,
         Default,
         default_lib_allocator,
@@ -238,6 +239,7 @@ symbols! {
         deref,
         deref_mut,
         derive,
+        diagnostic,
         direct,
         doc,
         doc_alias,
@@ -569,6 +571,7 @@ symbols! {
         rustc_conversion_suggestion,
         rustc_def_path,
         rustc_deprecated,
+        rustc_diagnostic_item,
         rustc_diagnostic_macros,
         rustc_dirty,
         rustc_dummy,