Idiomatic Rusty-Elixir helpers for Clippy lint attribute paths.
Use these through use RustQ.Meta, which aliases this module as Clippy:
@allow Clippy.redundant_field_names
defrust build(value) do
...
endThe helper returns RustQ path metadata that renders as
#[allow(clippy::redundant_field_names)].
Summary
Functions
@spec lint(atom() | String.t()) :: RustQ.Rust.AST.Path.t()
Returns a Clippy lint path for name.
@spec redundant_field_names() :: RustQ.Rust.AST.Path.t()
Returns the clippy::redundant_field_names lint path.