RustQ.Reach.Smells.BlocklessDefrustmod (rustq v0.9.3)

Copy Markdown View Source

Detects blockless defrustmod declarations.

Blockless defrustmod Foo, as: ... often means an external Rust module is being mirrored as an Elixir alias. Prefer ordinary remote types in specs, normal alias calls, or a block-form defrustmod when RustQ owns the generated Rust module body.