Skip to content

[Rust] Support #![] module level attributes #36

@rrichardson

Description

@rrichardson

When attempting to put
#![allow(clippy)] at the top of a file, it gets placed below any imports created by register.

It'd be nice to specify, perhaps in the Rust config, any top-of-module lines that must be present.

The workaround is to just insert such things first at the top of a file, but this sort of breaks the abstraction.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions