remove box_free and replace with drop impl
This commit is contained in:
parent
0966f3202d
commit
a5c6cb888e
17 changed files with 91 additions and 146 deletions
|
@ -123,12 +123,6 @@
|
|||
//! pointers to these functions even if they never get called anywhere. This can
|
||||
//! be seen as a special case of taking a function reference.
|
||||
//!
|
||||
//! #### Boxes
|
||||
//! Since `Box` expression have special compiler support, no explicit calls to
|
||||
//! `exchange_malloc()` and `box_free()` may show up in MIR, even if the
|
||||
//! compiler will generate them. We have to observe `Rvalue::Box` expressions
|
||||
//! and Box-typed drop-statements for that purpose.
|
||||
//!
|
||||
//!
|
||||
//! Interaction with Cross-Crate Inlining
|
||||
//! -------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue