about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorDhruv Jauhar <dhruvjhr@gmail.com>2021-04-13 03:43:11 -0400
committerDhruv Jauhar <dhruvjhr@gmail.com>2021-05-14 22:57:33 -0400
commita7e1cec621d751b1c10b00b45c5b228df1b7d46d (patch)
treee16f25f30836660cd4a8c7fd09809240bf192f6c /compiler/rustc_span/src
parent1025db84a68b948139b5adcd55da31bce32da8f3 (diff)
downloadrust-a7e1cec621d751b1c10b00b45c5b228df1b7d46d.tar.gz
rust-a7e1cec621d751b1c10b00b45c5b228df1b7d46d.zip
add new attribute rustc_insignificant_dtor and a query to check if a type has a significant drop
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 0b3dece09ae..c9816c2d599 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1015,6 +1015,7 @@ symbols! {
         rustc_expected_cgu_reuse,
         rustc_if_this_changed,
         rustc_inherit_overflow_checks,
+        rustc_insignificant_dtor,
         rustc_layout,
         rustc_layout_scalar_valid_range_end,
         rustc_layout_scalar_valid_range_start,