Skip to content

RFC: Remove "unchecked" blocks #3436

Closed
Closed
@pcwalton

Description

@pcwalton

Unchecked blocks can be used to write reinterpret_cast, which can cast an unsafe function to a safe one and call it. Thus there's no real difference between an unchecked block and an unsafe block. So I propose removing unchecked from the language.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions