Skip to content

Assess safety of metavar expansion in macros.rs #197

Description

@StevenLove

Clippy upgrade to 1.8.0 from #195 adds a new lint macro_metavars_in_unsafe](https://rust-lang.github.io/rust-clippy/master/index.html#/macro_meta) that warns us against a pattern where macros expose unsafe code in a way that makes it look safe to the caller.

#195 just uses #[allow(clippy::macro_metavars_in_unsafe)] annotations to keep Clippy quiet, but we should assess whether it is a false positive or if we can restructure the macros properly.

Previous Discussion:
https://github.com/sl-sh-dev/sl-sh/pull/195/files/04214947ff93967af881366b1da61194081891e8#r1756055067

Activity

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

Metadata

Metadata

Assignees

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