Auto merge of #28861 - pnkfelix:fsk-nonparam-dropck-issue28498, r=arielb1
implement RFC 1238: nonparametric dropck. cc #28498 cc @nikomatsakis
This commit is contained in:
commit
87cd2c0827
29 changed files with 769 additions and 102 deletions
|
@ -550,6 +550,7 @@ impl<T: ?Sized> Drop for Arc<T> {
|
|||
///
|
||||
/// } // implicit drop
|
||||
/// ```
|
||||
#[unsafe_destructor_blind_to_params]
|
||||
#[inline]
|
||||
fn drop(&mut self) {
|
||||
// This structure has #[unsafe_no_drop_flag], so this drop glue may run
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue