]> git.lizzy.rs Git - rust.git/commit - src/librustc_llvm/build.rs
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)
commit2f3d64fc2f4df95645366825952a4c976bcb2336
tree985fcc9498c94413c726268ad47e5ef94d825f7e
parent47ea6d90b073ab977cf072e2f5f46d63de532cc6
parentc38230e3b639783483277465ff3c3436a8fd5545
Rollup merge of #74333 - poliorcetics:std-alloc-unsafe-op-in-unsafe-fn, r=LukasKalbertodt

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