Skip to content

Enable the unsafe_op_in_unsafe_fn lint #7707

@Darksonn

Description

@Darksonn

I would like to enable the unsafe_op_in_unsafe_fn lint by adding

#![deny(unsafe_op_in_unsafe_fn)]

to the top of src/lib.rs.

However, we can't do this right now because there are 187 instances where this is currently violated. These should be fixed and then the lint should be enabled.

Since there are many instances of this, it's acceptable to submit PRs that just fix some of them as partial progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tokioArea: The main tokio crateE-help-wantedCall for participation: Help is requested to fix this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions