Skip to content

Test example triggers false positive Socket alert #328

@bourumir-wyngs

Description

@bourumir-wyngs

It is totally clear to me that this code (/tests/ui/non-quotable.rs)

  fn main() {
      let ip = Ipv4Addr::LOCALHOST;
      let _ = quote! { #ip };
  }

does not approach anywhere close to accessing the network, but explain this for Socket!

I suggest thinking of a less provocative example that would not trigger confusing alerts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions