diff options
| author | bors <bors@rust-lang.org> | 2023-06-17 16:10:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-17 16:10:57 +0000 |
| commit | a8a29070f07e47a244c8199ad582f93172019743 (patch) | |
| tree | 763b2ef51eb7ab864c4f3bb635e1c8060d19361d /compiler/rustc_span/src | |
| parent | e1c29d137dd779dcfce447d8d149ee6b8e9bdf78 (diff) | |
| parent | a5c6cb888eac7ad8905a3902b985e412aaceb002 (diff) | |
| download | rust-a8a29070f07e47a244c8199ad582f93172019743.tar.gz rust-a8a29070f07e47a244c8199ad582f93172019743.zip | |
Auto merge of #100036 - DrMeepster:box_free_free_box, r=oli-obk
Remove `box_free` lang item This PR removes the `box_free` lang item, replacing it with `Box`'s `Drop` impl. Box dropping is still slightly magic because the contained value is still dropped by the compiler.
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 19d986a3152..bd39cbf17ce 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -432,7 +432,6 @@ symbols! { bool, borrowck_graphviz_format, borrowck_graphviz_postflow, - box_free, box_new, box_patterns, box_syntax, |
