]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #74333 - poliorcetics:std-alloc-unsafe-op-in-unsafe-fn, r=LukasKalbertodt
authorManish Goregaokar <manishsmail@gmail.com>
Sun, 19 Jul 2020 14:02:22 +0000 (07:02 -0700)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2020 14:02:22 +0000 (07:02 -0700)
Deny unsafe operations in unsafe functions in libstd/alloc.rs

Partial fix of #73904.

This encloses `unsafe` operations in `unsafe fn` in `libstd/alloc.rs`.

@rustbot modify labels: F-unsafe-block-in-unsafe-fn


Trivial merge