Uh oh!
There was an error while loading. Please reload this page.
Std panicking unsafe block in unsafe fn - #74200
Conversation
rust-highfive
commented
Jul 9, 2020
r? @shepmaster (rust_highfive has picked a reviewer for you, use r? to override) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
5fc0e08 to
2292064Comparepoliorcetics
commented
Jul 27, 2020
@Mark-Simulacrum the last commit made the |
bors
commented
Jul 28, 2020
☔ The latest upstream changes (presumably #73265) made this pull request unmergeable. Please resolve the merge conflicts. |
Mark-Simulacrum
commented
Jul 28, 2020
r=me with a rebase |
12fec55 to
a39aae8Comparepoliorcetics
commented
Jul 28, 2020
Rebase done, checks are in progress. 😃 |
Mark-Simulacrum
commented
Jul 28, 2020
Please also squash all commits into one. |
This adds SAFETY comments where necessary, explaining the preconditions and how they are respected.
a39aae8 to
82ccdabCompareDylan-DPC-zz
commented
Aug 9, 2020
@bors r=Mark-Simulacrum rollup |
bors
commented
Aug 9, 2020
📌 Commit 82ccdab has been approved by |
Rollup of 8 pull requests Successful merges: - rust-lang#74200 (Std panicking unsafe block in unsafe fn) - rust-lang#75286 (Add additional case for Path starts with) - rust-lang#75318 (Resolve `char` as a primitive even if there is a module in scope) - rust-lang#75320 (Detect likely `for foo of bar` JS syntax) - rust-lang#75328 (Cleanup E0749) - rust-lang#75344 (Rename "Important traits" to "Notable traits") - rust-lang#75348 (Move to intra-doc links in library/core/src/time.rs) - rust-lang#75350 (Do not ICE when lowering invalid extern fn with bodies) Failed merges: r? @ghost
Partial fix of #73904.
This encloses
unsafeoperations inunsafe fninlibstd/ffi/panicking.rs.I also made a two lines change to
libstd/thread/local.rsto add the necessaryunsafeblock without breaking everything else.@rustbot modify labels: F-unsafe-block-in-unsafe-fn