-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): replace
~const Drop
with ~const Destruct
This change was driven by [rust-lang/rust#94901][1]. It's actually more than just renaming - it fixes the irregular meaning of `~const Drop` (“the type can be destructed in a const context”, instead of the regular meaning of “`<T as Drop>::drop is `const fn`”), which the compiler was unable to reconcile in `Drop` bounds and thus necessitated the work- around explained in `[ref:drop_const_bounds]`. This is no longer an issue because `~const Destruct` has a regular meaning. [1]: rust-lang/rust#94901
- Loading branch information
Showing
4 changed files
with
32 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters