Skip to content

TRPL is too soft on UB #26346

Closed
Closed
@Gankra

Description

@Gankra

from the unsafe section:

Okay, let’s try again: what is not safe to do? [list of all UB in Rust]

Doing any of these things is Undefined Behaviour that should be impossible for a safe code to do under any circumstance. Code is unsafe if there are circumstances under which it may do one of these things (bad inputs, bad state).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions