add new attribute rustc_insignificant_dtor and a query to check if a type has a significant drop

This commit is contained in:
Dhruv Jauhar 2021-04-13 03:43:11 -04:00
parent 1025db84a6
commit a7e1cec621
11 changed files with 333 additions and 13 deletions

View file

@ -700,6 +700,7 @@ pub const INCOMPLETE_FEATURES: &[Symbol] = &[
sym::native_link_modifiers_verbatim,
sym::native_link_modifiers_whole_archive,
sym::native_link_modifiers_as_needed,
sym::rustc_insignificant_dtor,
];
/// Some features are not allowed to be used together at the same time, if