Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust 2024: distinguish
unsafe fn
vs. unsafe
blocks
The former is no longer always treated as an unsafe block (without a warning, anyway), as implementation of [RFC #2585][rfc] progresses; the `unsafe fn` declares an obligation and the `unsafe` block upholds it. Fixes #4147 [rfc]: https://rust-lang.github.io/rfcs/2585-unsafe-block-in-unsafe-fn.html
- Loading branch information