You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't prevent code compilation but is definitely quite annoying. Adding the unsafe keyword to my module function definition doesn't solve the problem, because (I suspect) the underlying macro produces output that doesn't have the unsafe keyword.
I see the following when I expand the map proc macro:
The text was updated successfully, but these errors were encountered:
beeb
changed the title
Cargo clippy reports modules using the map handler as being unsafe
Cargo clippy reports modules using the map handler with params as being unsafe
Aug 13, 2023
When using params as the first argument to a map module, clippy will report:
This doesn't prevent code compilation but is definitely quite annoying. Adding the
unsafe
keyword to my module function definition doesn't solve the problem, because (I suspect) the underlying macro produces output that doesn't have theunsafe
keyword.I see the following when I expand the
map
proc macro:which indeed contains some unsafe code.
The text was updated successfully, but these errors were encountered: