about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorAndrea Nall <anall@andreanall.com>2021-02-15 02:27:20 +0000
committerAndrea Nall <anall@andreanall.com>2021-02-15 02:27:28 +0000
commit5ef202520f9c4c87dd6218bbfbbf57587e88f8be (patch)
tree400d310d06e6f4463eabb65d08cb2617c2608ba3 /compiler/rustc_span/src
parentb86674e7cc8ac9c846ed5aca84aaefc2d0d12e4a (diff)
downloadrust-5ef202520f9c4c87dd6218bbfbbf57587e88f8be.tar.gz
rust-5ef202520f9c4c87dd6218bbfbbf57587e88f8be.zip
add diagnostic items
Add diagnostic items to the following types:
  OsString (os_string_type)
  PathBuf (path_buf_type)
  Owned (to_owned_trait)

As well as the to_vec method on slice/[T]
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 1c37a6b2aca..de6210d1893 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -796,6 +796,7 @@ symbols! {
         options,
         or,
         or_patterns,
+        os_string_type,
         other,
         out,
         overlapping_marker_traits,
@@ -824,6 +825,7 @@ symbols! {
         pat2018,
         pat2021,
         path,
+        path_buf_type,
         pattern_parentheses,
         phantom_data,
         pin,
@@ -1084,6 +1086,7 @@ symbols! {
         slice,
         slice_alloc,
         slice_patterns,
+        slice_to_vec_method,
         slice_u8,
         slice_u8_alloc,
         slicing_syntax,
@@ -1159,6 +1162,7 @@ symbols! {
         then_with,
         thread,
         thread_local,
+        to_owned_trait,
         tool_attributes,
         tool_lints,
         trace_macros,