Skip to content

println! and tokio::main reported as unsafe functions #12751

Description

@OverHash

rust-analyzer is reporting basic macros like println! and #[tokio::main] as unsafe functions.
image
image

These issues have only recently appeared. Running cargo check shows that my workspace is fine.

rust-analyzer version: rust-analyzer version: 0.0.0 (5342f47 2022-07-09)

rustc version: rustc 1.62.0 (a8314ef7d 2022-06-27)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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